httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject cvs commit: httpd-2.0/modules/mappers mod_alias.c
Date Sat, 08 Jun 2002 06:28:16 GMT
brianp      2002/06/07 23:28:16

  Modified:    modules/mappers mod_alias.c
  Log:
  Remove some extraneous comparison operations
  
  Revision  Changes    Path
  1.42      +4 -2      httpd-2.0/modules/mappers/mod_alias.c
  
  Index: mod_alias.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/mappers/mod_alias.c,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- mod_alias.c	4 Jun 2002 16:47:10 -0000	1.41
  +++ mod_alias.c	8 Jun 2002 06:28:16 -0000	1.42
  @@ -297,10 +297,12 @@
               if (*urip != '/')
                   return 0;
   
  -            while (*aliasp == '/')
  +            do {
                   ++aliasp;
  -            while (*urip == '/')
  +            } while (*aliasp == '/');
  +            do {
                   ++urip;
  +            } while (*urip == '/');
           }
           else {
               /* Other characters are compared literally */
  
  
  

Mime
View raw message