You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2010/09/01 14:43:03 UTC
svn commit: r991516 - /httpd/httpd/trunk/modules/mappers/mod_rewrite.c
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]) {