You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@hyperreal.org on 1999/08/28 15:31:37 UTC

cvs commit: apache-2.0/src/modules/mpm/prefork prefork.c

jim         99/08/28 06:31:37

  Modified:    src/modules/mpm/prefork prefork.c
  Log:
  Remove some shadowing
  warnings. Avoid some possible confusion as well :)
  
  Revision  Changes    Path
  1.31      +3 -3      apache-2.0/src/modules/mpm/prefork/prefork.c
  
  Index: prefork.c
  ===================================================================
  RCS file: /export/home/cvs/apache-2.0/src/modules/mpm/prefork/prefork.c,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- prefork.c	1999/08/15 00:11:13	1.30
  +++ prefork.c	1999/08/28 13:31:36	1.31
  @@ -2514,11 +2514,11 @@
   }
   
   
  -static int setup_listeners(pool *pconf, server_rec *s)
  +static int setup_listeners(pool *p, server_rec *s)
   {
       ap_listen_rec *lr;
   
  -    if (ap_listen_open(pconf, s->port)) {
  +    if (ap_listen_open(p, s->port)) {
   	ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ALERT, s,
   		    "no listening sockets available, shutting down");
   	return -1;
  @@ -2752,7 +2752,7 @@
       return 0;
   }
   
  -static void prefork_pre_config(pool *pconf, pool *plog, pool *ptemp)
  +static void prefork_pre_config(pool *p, pool *plog, pool *ptemp)
   {
       static int restart_num = 0;