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 Tue, 15 Jul 2003 20:38:04 GMT
nd          2003/07/15 13:38:04

  Modified:    modules/mappers mod_rewrite.c
  Log:
  minor optimization. No need to use a function overhead here.
  
  Revision  Changes    Path
  1.158     +1 -1      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.157
  retrieving revision 1.158
  diff -u -r1.157 -r1.158
  --- mod_rewrite.c	15 Jul 2003 18:43:41 -0000	1.157
  +++ mod_rewrite.c	15 Jul 2003 20:38:04 -0000	1.158
  @@ -2103,7 +2103,7 @@
        *  cookies:
        *  (`RewriteRule <pat> - [E=...,CO=...]')
        */
  -    if (strcmp(output, "-") == 0) {
  +    if (output[0] == '-' && !output[1]) {
           do_expand_env(r, p->env, briRR, briRC);
           do_expand_cookie(r, p->cookie, briRR, briRC);
           if (p->forced_mimetype != NULL) {
  
  
  

Mime
View raw message