From 62cb0bdaffe5f11d8a112008bc82862ce35efc0f Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Wed, 1 Sep 2010 12:43:03 +0000 Subject: [PATCH] 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 --- modules/mappers/mod_rewrite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c index 3f2bd0cd34..ac08973f30 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]) { -- 2.50.1