httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: apache-1.3/src/main http_main.c
Date Fri, 10 Aug 2001 01:14:29 GMT
bnicholes    01/08/09 18:14:29

  Modified:    src/main http_main.c
  Log:
  Made sure that the variables ap_listenbacklog and ap_listeners are initialized
  before they are used to avoid linker errors when using the NLMCONV utility
  to build Apache for NetWare.  Patch submitted by Pavel Novy.
  
  Revision  Changes    Path
  1.546     +2 -2      apache-1.3/src/main/http_main.c
  
  Index: http_main.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/main/http_main.c,v
  retrieving revision 1.545
  retrieving revision 1.546
  diff -u -r1.545 -r1.546
  --- http_main.c	2001/07/16 06:20:39	1.545
  +++ http_main.c	2001/08/10 01:14:29	1.546
  @@ -257,7 +257,7 @@
   API_VAR_EXPORT int ap_daemons_limit=0;
   time_t ap_restart_time=0;
   API_VAR_EXPORT int ap_suexec_enabled = 0;
  -int ap_listenbacklog;
  +int ap_listenbacklog=0;
   #ifdef SO_ACCEPTFILTER
   int ap_acceptfilter =
   #ifdef AP_ACCEPTFILTER_OFF
  @@ -294,7 +294,7 @@
    *
    * Note that listeners != NULL is ensured by read_config().
    */
  -listen_rec *ap_listeners;
  +listen_rec *ap_listeners=NULL;
   static listen_rec *head_listener;
   
   API_VAR_EXPORT char ap_server_root[MAX_STRING_LEN]="";
  
  
  

Mime
View raw message