httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: httpd-2.0/modules/mappers mod_rewrite.c
Date Mon, 04 Aug 2003 22:05:43 GMT
nd          2003/08/04 15:05:43

  Modified:    modules/mappers mod_rewrite.c
  Log:
  remove unneccessary assignment
  
  Revision  Changes    Path
  1.217     +1 -4      httpd-2.0/modules/mappers/mod_rewrite.c
  
  Index: mod_rewrite.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/mappers/mod_rewrite.c,v
  retrieving revision 1.216
  retrieving revision 1.217
  diff -u -r1.216 -r1.217
  --- mod_rewrite.c	4 Aug 2003 21:47:08 -0000	1.216
  +++ mod_rewrite.c	4 Aug 2003 22:05:43 -0000	1.217
  @@ -2034,14 +2034,11 @@
                       if (dflt) {
                           *dflt++ = '\0';
                       }
  -                    else {
  -                        dflt = "";
  -                    }
   
                       /* reuse of key variable as result */
                       key = lookup_map(r, map, do_expand(r, key, briRR, briRC));
   
  -                    if (!key && *dflt) {
  +                    if (!key && dflt && *dflt) {
                           key = do_expand(r, dflt, briRR, briRC);
                       }
   
  
  
  

Mime
View raw message