Commit 05382faa authored by Jeff Trawick's avatar Jeff Trawick
Browse files

fix data initialization problem in new Unix -k option processing


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95251 13f79535-47bb-0310-9956-ffa450edef68
parent ec08250f
Loading
Loading
Loading
Loading
+2 −0
Changes for server/mpm_common.c: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -838,6 +838,8 @@ void ap_mpm_rewrite_args(process_rec *process)
    apr_getopt_init(&opt, process->pool, process->argc, process->argv);
    opt->errfn = NULL;
    optbuf[0] = '-';
    /* option char returned by apr_getopt() will be stored in optbuf[1] */
    optbuf[2] = '\0';
    while ((rv = apr_getopt(opt, "k:" AP_SERVER_BASEARGS,
                            optbuf + 1, &optarg)) == APR_SUCCESS) {
        switch(optbuf[1]) {