summaryrefslogtreecommitdiff
path: root/base/util_getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'base/util_getopt.c')
-rw-r--r--base/util_getopt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/util_getopt.c b/base/util_getopt.c
index c870e206..8025334e 100644
--- a/base/util_getopt.c
+++ b/base/util_getopt.c
@@ -107,10 +107,11 @@ int getopt(int nargc, char * const * nargv, const char *ostr)
p, optopt);
return(BADCH);
}
- else /* white space */
+ else /* white space */
optarg = nargv[optind];
place = EMSG;
++optind;
}
return(optopt); /* dump back option letter */
}
+