]> granicus.if.org Git - apache/commitdiff
* modules/proxy/mod_proxy_html.c (comp_urlmap): Fix const-ness warning.
authorJoe Orton <jorton@apache.org>
Thu, 10 Nov 2011 21:11:31 +0000 (21:11 +0000)
committerJoe Orton <jorton@apache.org>
Thu, 10 Nov 2011 21:11:31 +0000 (21:11 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1200550 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/mod_proxy_html.c

index a7cbc4a5cf8d3ded61e556bf2bf515f703ae0dba..857bfaf737094ee952bd3ac66a5e16a3aafba520 100644 (file)
@@ -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] = '!';
             }