summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/rmail
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-08-04 12:53:30 +0000
committerpeter <peter@FreeBSD.org>1998-08-04 12:53:30 +0000
commitd9ec7e26a28014272ea08427b0251b901702a8f5 (patch)
treefb02722e35691a56a57dbd80573336c5e2972700 /contrib/sendmail/rmail
parent2f8733079829af0840b1ea9ab37c591ab47afbc1 (diff)
downloadFreeBSD-src-d9ec7e26a28014272ea08427b0251b901702a8f5.zip
FreeBSD-src-d9ec7e26a28014272ea08427b0251b901702a8f5.tar.gz
Copy respective revisions from usr.sbin/sendmail/*/* - use -1 with getopt.
Diffstat (limited to 'contrib/sendmail/rmail')
-rw-r--r--contrib/sendmail/rmail/rmail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/sendmail/rmail/rmail.c b/contrib/sendmail/rmail/rmail.c
index 9d58fcc..5a1795a 100644
--- a/contrib/sendmail/rmail/rmail.c
+++ b/contrib/sendmail/rmail/rmail.c
@@ -145,7 +145,7 @@ main(argc, argv)
debug = 0;
domain = "UUCP"; /* Default "domain". */
- while ((ch = getopt(argc, argv, "D:T")) != EOF)
+ while ((ch = getopt(argc, argv, "D:T")) != -1)
switch (ch) {
case 'T':
debug = 1;
OpenPOWER on IntegriCloud