]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix function arguments to respect APR's New World Order.
authorManoj Kasichainula <manoj@apache.org>
Tue, 12 Oct 1999 04:06:58 +0000 (04:06 +0000)
committerManoj Kasichainula <manoj@apache.org>
Tue, 12 Oct 1999 04:06:58 +0000 (04:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83975 13f79535-47bb-0310-9956-ffa450edef68

modules/generators/mod_cgi.c

index 3802ed73985e86838bd0eda8051214e3fb44e7da..c28f310f40ac61e5dcca06dc7faef656fa283fa3 100644 (file)
@@ -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) {