from.c (338fc8eb62853c5e4ff1d06d333eea97927af9dd) from.c (1c8af8787354e20c2b38cab5801698133ff8b403)
1/*
2 * Copyright (c) 1980, 1988, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 52 unchanged lines hidden (view full) ---

61 char *file, *sender, *p;
62#if MAXPATHLEN > BUFSIZ
63 char buf[MAXPATHLEN];
64#else
65 char buf[BUFSIZ];
66#endif
67
68 file = sender = NULL;
1/*
2 * Copyright (c) 1980, 1988, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 52 unchanged lines hidden (view full) ---

61 char *file, *sender, *p;
62#if MAXPATHLEN > BUFSIZ
63 char buf[MAXPATHLEN];
64#else
65 char buf[BUFSIZ];
66#endif
67
68 file = sender = NULL;
69 while ((ch = getopt(argc, argv, "f:s:?")) != EOF)
69 while ((ch = getopt(argc, argv, "f:s:?")) != -1)
70 switch((char)ch) {
71 case 'f':
72 file = optarg;
73 break;
74 case 's':
75 sender = optarg;
76 for (p = sender; *p; ++p)
77 if (isupper(*p))

--- 72 unchanged lines hidden ---
70 switch((char)ch) {
71 case 'f':
72 file = optarg;
73 break;
74 case 's':
75 sender = optarg;
76 for (p = sender; *p; ++p)
77 if (isupper(*p))

--- 72 unchanged lines hidden ---