From 1b2d4f0c7210f9bba41300a36cd2729c8f2bbbf1 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Thu, 10 Nov 2011 21:11:31 +0000 Subject: [PATCH] * modules/proxy/mod_proxy_html.c (comp_urlmap): Fix const-ness warning. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1200550 13f79535-47bb-0310-9956-ffa450edef68 --- modules/filters/mod_proxy_html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/filters/mod_proxy_html.c b/modules/filters/mod_proxy_html.c index a7cbc4a5cf..857bfaf737 100644 --- a/modules/filters/mod_proxy_html.c +++ b/modules/filters/mod_proxy_html.c @@ -1054,7 +1054,7 @@ static const char* comp_urlmap(cmd_parms *cmd, urlmap* newmap, /* we got a substitution. Check for the case (3) above * that the regexp gets wrong: a negation without a comparison. */ - if ((cond[0] == '!') && !strchr(cond, '=')) { + if ((cond[0] == '!') && !ap_strchr_c(cond, '=')) { memmove(newcond+1, newcond, strlen(newcond)-1); newcond[0] = '!'; } -- 2.40.0