]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Revert "fix unexpected enum operation"
authorJim Jagielski <jim@apache.org>
Fri, 17 Jun 2011 17:15:54 +0000 (17:15 +0000)
committerJim Jagielski <jim@apache.org>
Fri, 17 Jun 2011 17:15:54 +0000 (17:15 +0000)
This reverts commit d407a566ab24e576a3f143f5c27b2ccf90f5d8da.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1136946 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_rewrite.c

index 08bd02e5311636a037982d38df02e589a101b460..c090959383e146eb49bec819bc1f7897c67f8e8e 100644 (file)
@@ -3317,7 +3317,7 @@ static const char *cmd_rewritecond(cmd_parms *cmd, void *in_dconf,
     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));