httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/server core.c
Date Tue, 13 May 2003 14:22:46 GMT
trawick     2003/05/13 07:22:46

  Modified:    server   core.c
  Log:
  fix a bogus check for IPv6 support that led to an unnecessary
  string search on builds of Apache without IPv6 support
  
  Submitted by:	Bill Stoddard
  
  Revision  Changes    Path
  1.235     +1 -1      httpd-2.0/server/core.c
  
  Index: core.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/core.c,v
  retrieving revision 1.234
  retrieving revision 1.235
  diff -u -r1.234 -r1.235
  --- core.c	9 May 2003 21:37:05 -0000	1.234
  +++ core.c	13 May 2003 14:22:45 -0000	1.235
  @@ -894,7 +894,7 @@
   {
       const char *plain_server_name = ap_get_server_name(r);
   
  -#ifdef APR_HAVE_IPV6
  +#if APR_HAVE_IPV6
       if (ap_strchr_c(plain_server_name, ':')) { /* IPv6 literal? */
           return apr_psprintf(r->pool, "[%s]", plain_server_name);
       }
  
  
  

Mime
View raw message