summaryrefslogtreecommitdiff
path: root/libexec/tcpd/tcpdmatch/tcpdmatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/tcpd/tcpdmatch/tcpdmatch.c')
-rw-r--r--libexec/tcpd/tcpdmatch/tcpdmatch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/tcpd/tcpdmatch/tcpdmatch.c b/libexec/tcpd/tcpdmatch/tcpdmatch.c
index fb4fd1c242f..6928bb63999 100644
--- a/libexec/tcpd/tcpdmatch/tcpdmatch.c
+++ b/libexec/tcpd/tcpdmatch/tcpdmatch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcpdmatch.c,v 1.1 1997/02/26 06:17:10 downsj Exp $ */
+/* $OpenBSD: tcpdmatch.c,v 1.2 1999/05/23 17:19:23 aaron Exp $ */
/*
* tcpdmatch - explain what tcpd would do in a specific case
@@ -19,7 +19,7 @@
#if 0
static char sccsid[] = "@(#) tcpdmatch.c 1.5 96/02/11 17:01:36";
#else
-static char rcsid[] = "$OpenBSD: tcpdmatch.c,v 1.1 1997/02/26 06:17:10 downsj Exp $";
+static char rcsid[] = "$OpenBSD: tcpdmatch.c,v 1.2 1999/05/23 17:19:23 aaron Exp $";
#endif
#endif
@@ -85,7 +85,7 @@ char **argv;
/*
* Parse the JCL.
*/
- while ((ch = getopt(argc, argv, "di:")) != EOF) {
+ while ((ch = getopt(argc, argv, "di:")) != -1) {
switch (ch) {
case 'd':
hosts_allow_table = "hosts.allow";