]> granicus.if.org Git - apache/commitdiff
Make prefork's setup_listeners looks like the others'.
authorManoj Kasichainula <manoj@apache.org>
Thu, 7 Oct 1999 22:23:54 +0000 (22:23 +0000)
committerManoj Kasichainula <manoj@apache.org>
Thu, 7 Oct 1999 22:23:54 +0000 (22:23 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83948 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/prefork/prefork.c

index 001283bd041c12d8c6f1fc0268a203b4a03e8226..e628997bca1b6d30462c5bf2fa9ae3d947c10e1a 100644 (file)
@@ -2530,7 +2530,7 @@ static void process_child_status(int pid, ap_wait_t status)
 }
 
 
-static int setup_listeners(ap_context_t *p, server_rec *s)
+static int setup_listeners(server_rec *s)
 {
     ap_listen_rec *lr;
     int sockdes;
@@ -2568,7 +2568,7 @@ int ap_mpm_run(ap_context_t *_pconf, ap_context_t *plog, server_rec *s)
  
     ap_log_pid(pconf, ap_pid_fname);
 
-    if (setup_listeners(pconf, s)) {
+    if (setup_listeners(s)) {
        /* XXX: hey, what's the right way for the mpm to indicate a fatal error? */
        return 1;
     }