From f876270c4074d74973925be99cc3f0bf21e72bf2 Mon Sep 17 00:00:00 2001 From: millert Date: Thu, 16 Jan 1997 05:27:46 +0000 Subject: [PATCH] getopt(3) fix that I missed in the previous sweep. --- usr.sbin/sendmail/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/sendmail/src/main.c b/usr.sbin/sendmail/src/main.c index df276d46f1b..e420bbde23d 100644 --- a/usr.sbin/sendmail/src/main.c +++ b/usr.sbin/sendmail/src/main.c @@ -515,7 +515,7 @@ main(argc, argv, envp) OpMode = MD_PURGESTAT; optind = 1; - while ((j = getopt(argc, argv, OPTIONS)) != EOF) + while ((j = getopt(argc, argv, OPTIONS)) != -1) { switch (j) { -- 2.20.1