You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2002/05/23 20:31:02 UTC
cvs commit: httpd-2.0/server mpm_common.c
trawick 02/05/23 11:31:02
Modified: server mpm_common.c
Log:
fix data initialization problem in new Unix -k option processing
Revision Changes Path
1.96 +2 -0 httpd-2.0/server/mpm_common.c
Index: mpm_common.c
===================================================================
RCS file: /home/cvs/httpd-2.0/server/mpm_common.c,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -r1.95 -r1.96
--- mpm_common.c 23 May 2002 12:58:37 -0000 1.95
+++ mpm_common.c 23 May 2002 18:31:02 -0000 1.96
@@ -838,6 +838,8 @@
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]) {