diff options
Diffstat (limited to 'misc/unix/getopt.c')
-rw-r--r-- | misc/unix/getopt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/unix/getopt.c b/misc/unix/getopt.c index b14b8c9fe..4ed1d5349 100644 --- a/misc/unix/getopt.c +++ b/misc/unix/getopt.c @@ -55,6 +55,7 @@ APR_DECLARE(apr_status_t) apr_getopt_init(apr_getopt_t **os, apr_pool_t *cont, *os = apr_palloc(cont, sizeof(apr_getopt_t)); (*os)->cont = cont; + (*os)->reset = 0; (*os)->err = 1; (*os)->place = EMSG; (*os)->argc = argc; |