From: David Reid Date: Tue, 14 Mar 2000 22:06:47 +0000 (+0000) Subject: This gets the server working again after Ryan's order change for X-Git-Tag: APACHE_2_0_ALPHA_2~84 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f982c8538867870c1918b5a937a95d9be0ae40ae;p=apache This gets the server working again after Ryan's order change for ap_getopt. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84768 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/main.c b/server/main.c index c2e1ca2266..6b420eb36e 100644 --- a/server/main.c +++ b/server/main.c @@ -315,7 +315,7 @@ API_EXPORT_NONSTD(int) main(int argc, char *argv[]) ap_server_post_read_config = ap_make_array(pcommands, 1, sizeof(char *)); ap_server_config_defines = ap_make_array(pcommands, 1, sizeof(char *)); - while (ap_getopt(pcommands, argc, argv, "C:c:d:f:k:vVlLth", &c) == APR_SUCCESS) { + while (ap_getopt(argc, argv, "C:c:d:f:k:vVlLth", &c, pcommands) == APR_SUCCESS) { char **new; switch (c) { case 'c':