summaryrefslogtreecommitdiffstats
path: root/usr.sbin/httpd/src
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2006-03-12 00:29:34 +0000
committerderaadt <deraadt@openbsd.org>2006-03-12 00:29:34 +0000
commit96c0adf241a82064daae57dcb5e1cd3fe47e8840 (patch)
tree52588676eef066e141f4faf39eda53d9b8abf26b /usr.sbin/httpd/src
parentmight as well make ksh_getopt() match real getopt(), ie. get rid of that (diff)
downloadwireguard-openbsd-96c0adf241a82064daae57dcb5e1cd3fe47e8840.tar.xz
wireguard-openbsd-96c0adf241a82064daae57dcb5e1cd3fe47e8840.zip
more getopt() EOF crud; adobriyan@gmail
Diffstat (limited to 'usr.sbin/httpd/src')
-rw-r--r--usr.sbin/httpd/src/regex/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/httpd/src/regex/main.c b/usr.sbin/httpd/src/regex/main.c
index 1c4364cae9f..b7301566459 100644
--- a/usr.sbin/httpd/src/regex/main.c
+++ b/usr.sbin/httpd/src/regex/main.c
@@ -42,7 +42,7 @@ char *argv[];
progname = argv[0];
- while ((c = getopt(argc, argv, "c:e:S:E:x")) != EOF)
+ while ((c = getopt(argc, argv, "c:e:S:E:x")) != -1)
switch (c) {
case 'c': /* compile options */
copts = options('c', optarg);