httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apache-1.3/src/main http_main.c
Date Wed, 16 Jan 2002 15:52:15 GMT
trawick     02/01/16 07:52:15

  Modified:    src/main http_main.c
  Log:
  fix a syntax error in an initializer which prevented http_main.c from
  compiling on at least OS/390, AIX w/ xlc, and HP-UX with HP compiler;
  Tru64 cc previously complained but generated code anyway; gcc -Wall
  didn't complain before
  
  unfortunately, this introduces a warning with gcc -Wall on Solaris since
  in_addr is a union
  
  Revision  Changes    Path
  1.568     +1 -1      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.567
  retrieving revision 1.568
  diff -u -r1.567 -r1.568
  --- http_main.c	14 Jan 2002 04:49:44 -0000	1.567
  +++ http_main.c	16 Jan 2002 15:52:15 -0000	1.568
  @@ -249,7 +249,7 @@
   API_VAR_EXPORT char *ap_scoreboard_fname=NULL;
   API_VAR_EXPORT char *ap_lock_fname=NULL;
   API_VAR_EXPORT char *ap_server_argv0=NULL;
  -API_VAR_EXPORT struct in_addr ap_bind_address={};
  +API_VAR_EXPORT struct in_addr ap_bind_address={0};
   API_VAR_EXPORT int ap_daemons_to_start=0;
   API_VAR_EXPORT int ap_daemons_min_free=0;
   API_VAR_EXPORT int ap_daemons_max_free=0;
  
  
  

Mime
View raw message