diff options
author | 2006-03-12 00:29:34 +0000 | |
---|---|---|
committer | 2006-03-12 00:29:34 +0000 | |
commit | 96c0adf241a82064daae57dcb5e1cd3fe47e8840 (patch) | |
tree | 52588676eef066e141f4faf39eda53d9b8abf26b /usr.sbin/httpd/src | |
parent | might as well make ksh_getopt() match real getopt(), ie. get rid of that (diff) | |
download | wireguard-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.c | 2 |
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); |