From 2792406eacf1ee6d8ab5b77c9354e8d24bcfec5f Mon Sep 17 00:00:00 2001 From: Manoj Kasichainula Date: Tue, 12 Oct 1999 04:06:58 +0000 Subject: [PATCH] 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 --- modules/generators/mod_cgi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) { -- 2.47.3