httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r991516 - /httpd/httpd/trunk/modules/mappers/mod_rewrite.c
Date Wed, 01 Sep 2010 12:43:03 GMT
Author: trawick
Date: Wed Sep  1 12:43:03 2010
New Revision: 991516

URL: http://svn.apache.org/viewvc?rev=991516&view=rev
Log:
set default pattern type using the enum value instead of
integer literal (Intel C compiler groans about this)

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=991516&r1=991515&r2=991516&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/mappers/mod_rewrite.c (original)
+++ httpd/httpd/trunk/modules/mappers/mod_rewrite.c Wed Sep  1 12:43:03 2010
@@ -3167,7 +3167,7 @@ static const char *cmd_rewritecond(cmd_p
     }
 
     /* determine the pattern type */
-    newcond->ptype = 0;
+    newcond->ptype = CONDPAT_REGEX;
     if (*a2 && a2[1]) {
         if (!a2[2] && *a2 == '-') {
             switch (a2[1]) {



Mime
View raw message