httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1136946 - /httpd/httpd/trunk/modules/mappers/mod_rewrite.c
Date Fri, 17 Jun 2011 17:15:54 GMT
Author: jim
Date: Fri Jun 17 17:15:54 2011
New Revision: 1136946

URL: http://svn.apache.org/viewvc?rev=1136946&view=rev
Log:
Revert "fix unexpected enum operation"

This reverts commit d407a566ab24e576a3f143f5c27b2ccf90f5d8da.

Modified:
    httpd/httpd/trunk/modules/mappers/mod_rewrite.c

Modified: httpd/httpd/trunk/modules/mappers/mod_rewrite.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mappers/mod_rewrite.c?rev=1136946&r1=1136945&r2=1136946&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/mappers/mod_rewrite.c (original)
+++ httpd/httpd/trunk/modules/mappers/mod_rewrite.c Fri Jun 17 17:15:54 2011
@@ -3317,7 +3317,7 @@ static const char *cmd_rewritecond(cmd_p
     newcond->pskip = a2 - newcond->pattern;
     newcond->pattern += newcond->pskip;
 
-    if (newcond->ptype == CONDPAT_REGEX) {
+    if (!newcond->ptype) {
         regexp = ap_pregcomp(cmd->pool, a2,
                              AP_REG_EXTENDED | ((newcond->flags & CONDFLAG_NOCASE)
                                              ? AP_REG_ICASE : 0));



Mime
View raw message