From: Manoj Kasichainula Date: Tue, 12 Oct 1999 04:06:58 +0000 (+0000) Subject: Fix function arguments to respect APR's New World Order. X-Git-Tag: 1.3.10~275 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2792406eacf1ee6d8ab5b77c9354e8d24bcfec5f;p=thirdparty%2Fapache%2Fhttpd.git Fix function arguments to respect APR's New World Order. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83975 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/generators/mod_cgi.c b/modules/generators/mod_cgi.c index 3802ed73985..c28f310f40a 100644 --- a/modules/generators/mod_cgi.c +++ b/modules/generators/mod_cgi.c @@ -380,8 +380,8 @@ static int cgi_child(struct cgi_child_stuff *child_stuff, exit(0); } - rc = ap_create_process(&procnew, child_context, r->filename, args, - env, procattr); + rc = ap_create_process(&procnew, r->filename, args, + env, procattr, child_context); if (rc != APR_SUCCESS) { /* Bad things happened. Everyone should have cleaned up. */ @@ -394,7 +394,7 @@ static int cgi_child(struct cgi_child_stuff *child_stuff, * stages. ap_note_subprocess and free_proc need to be redone * to make use of ap_proc_t instead of pid. */ - ap_get_os_proc(procnew, &fred); + ap_get_os_proc(&fred, procnew); ap_note_subprocess(child_context, fred, kill_after_timeout); #endif if (script_in) {