diff options
Diffstat (limited to 'usr.sbin/xntpd/lib/getopt.c')
-rw-r--r-- | usr.sbin/xntpd/lib/getopt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/xntpd/lib/getopt.c b/usr.sbin/xntpd/lib/getopt.c index 8505d80..b5164c60 100644 --- a/usr.sbin/xntpd/lib/getopt.c +++ b/usr.sbin/xntpd/lib/getopt.c @@ -63,7 +63,7 @@ ntp_getopt(argc, argv, optstring) scan = NULL; ntp_optind++; } - + if (scan == NULL || *scan == '\0') { if (ntp_optind >= argc || argv[ntp_optind][0] != '-' @@ -75,7 +75,7 @@ ntp_getopt(argc, argv, optstring) ntp_optind++; return (EOF); } - + scan = argv[ntp_optind++]+1; } |