From: Jeff Trawick Date: Wed, 1 Sep 2010 12:43:03 +0000 (+0000) Subject: set default pattern type using the enum value instead of X-Git-Tag: 2.3.9~520 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62cb0bdaffe5f11d8a112008bc82862ce35efc0f;p=thirdparty%2Fapache%2Fhttpd.git set default pattern type using the enum value instead of integer literal (Intel C compiler groans about this) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@991516 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c index 3f2bd0cd347..ac08973f306 100644 --- a/modules/mappers/mod_rewrite.c +++ b/modules/mappers/mod_rewrite.c @@ -3167,7 +3167,7 @@ static const char *cmd_rewritecond(cmd_parms *cmd, void *in_dconf, } /* determine the pattern type */ - newcond->ptype = 0; + newcond->ptype = CONDPAT_REGEX; if (*a2 && a2[1]) { if (!a2[2] && *a2 == '-') { switch (a2[1]) {