httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: [PATCH] PR#162
Date Mon, 10 Feb 1997 11:35:40 GMT
This is weird.  When I tested Marc's patch I didn't get any errors from
gcc but when Roy committed it I got the obvious:

http_core.c: In function `get_remote_host':
http_core.c:328: warning: `dir_conf' might be used uninitialized in this function

Please commit the following bug fix.

Dean

Index: http_core.c
===================================================================
RCS file: /export/home/cvs/apache/src/http_core.c,v
retrieving revision 1.66
diff -c -3 -r1.66 http_core.c
*** http_core.c	1997/02/10 10:24:48	1.66
--- http_core.c	1997/02/10 11:34:13
***************
*** 310,316 ****
  #ifdef MAXIMUM_DNS
      char **haddr;
  #endif
!     core_dir_config *dir_conf;
  
  /* If we haven't checked the host name, and we want to */
      if (dir_config) 
--- 325,331 ----
  #ifdef MAXIMUM_DNS
      char **haddr;
  #endif
!     core_dir_config *dir_conf = NULL;
  
  /* If we haven't checked the host name, and we want to */
      if (dir_config) 



Mime
View raw message