From f982c8538867870c1918b5a937a95d9be0ae40ae Mon Sep 17 00:00:00 2001 From: David Reid Date: Tue, 14 Mar 2000 22:06:47 +0000 Subject: [PATCH] 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 --- server/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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': -- 2.50.1