From: Joe Orton Date: Thu, 10 Nov 2011 21:11:31 +0000 (+0000) Subject: * modules/proxy/mod_proxy_html.c (comp_urlmap): Fix const-ness warning. X-Git-Tag: 2.5.0-alpha~7952 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b2d4f0c7210f9bba41300a36cd2729c8f2bbbf1;p=thirdparty%2Fapache%2Fhttpd.git * 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 --- diff --git a/modules/filters/mod_proxy_html.c b/modules/filters/mod_proxy_html.c index a7cbc4a5cf8..857bfaf7370 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] = '!'; }