summaryrefslogtreecommitdiff
path: root/mail/sendmail88/patches/patch-af
blob: 3f7a42e8b668150cb3c25b01a74736c5c3c46451 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-af,v 1.1.1.1 2000/02/13 00:14:48 tron Exp $

--- mail.local/mail.local.c.orig	Sat Aug  2 16:20:08 1997
+++ mail.local/mail.local.c	Sat Feb 12 23:28:26 2000
@@ -220,7 +220,7 @@
 #endif
 
 	from = NULL;
-	while ((ch = getopt(argc, argv, "df:r:")) != EOF)
+	while ((ch = getopt(argc, argv, "df:r:")) != -1)
 		switch(ch) {
 		case 'd':		/* Backward compatible. */
 			break;