httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/filters mod_include.c
Date Mon, 31 Dec 2001 06:43:30 GMT
wrowe       01/12/30 22:43:30

  Modified:    modules/filters mod_include.c
  Log:
    Return the correct $n result (assign the val, not the var!)
  
  Revision  Changes    Path
  1.181     +1 -1      httpd-2.0/modules/filters/mod_include.c
  
  Index: mod_include.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/filters/mod_include.c,v
  retrieving revision 1.180
  retrieving revision 1.181
  diff -u -r1.180 -r1.181
  --- mod_include.c	31 Dec 2001 06:04:45 -0000	1.180
  +++ mod_include.c	31 Dec 2001 06:43:30 -0000	1.181
  @@ -224,7 +224,7 @@
                    || (*ctx->re_result)[idx].rm_eo < 0) {
                   return NULL;
               }
  -            var = apr_pstrmemdup(r->pool, ctx->re_string 
  +            val = apr_pstrmemdup(r->pool, ctx->re_string 
                                           + (*ctx->re_result)[idx].rm_so, len);
           }
       }
  
  
  

Mime
View raw message