httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di...@apache.org
Subject cvs commit: httpd-2.0/support ab.c
Date Thu, 11 Jul 2002 13:44:12 GMT
dirkx       2002/07/11 06:44:12

  Modified:    support  ab.c
  Log:
  We where mixing #if USE_SSL en #ifdef USE_SSL. Since there where
  many more #ifdef's than #if's - Converted the minority to the majority.
  
  Note however that the APR_* defines are usually set to '=1'. So this is
  not quite consistent. (I.e. CFLAGS=-DUSE_SSL or CFLAGS=-DUSE_SSL=1).
  
  Dw.
  
  Revision  Changes    Path
  1.110     +5 -5      httpd-2.0/support/ab.c
  
  Index: ab.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/support/ab.c,v
  retrieving revision 1.109
  retrieving revision 1.110
  diff -u -r1.109 -r1.110
  --- ab.c	11 Jul 2002 05:42:20 -0000	1.109
  +++ ab.c	11 Jul 2002 13:44:12 -0000	1.110
  @@ -1797,7 +1797,7 @@
   
       if (strlen(url) > 7 && strncmp(url, "http://", 7) == 0) {
   	url += 7;
  -#if USE_SSL
  +#ifdef USE_SSL
   	ssl = 0;
   #endif
       }
  @@ -1833,7 +1833,7 @@
       }
   
       if (port == 0) {		/* no port specified */
  -#if USE_SSL
  +#ifdef USE_SSL
           if (ssl == 1)
               port = 443;
           else
  @@ -1842,7 +1842,7 @@
       }
   
       if ((
  -#if USE_SSL
  +#ifdef USE_SSL
            (ssl == 1) && (port != 443)) || (( ssl == 0 ) && 
   #endif
            (port != 80)))
  
  
  

Mime
View raw message