httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r1200550 - /httpd/httpd/trunk/modules/filters/mod_proxy_html.c
Date Thu, 10 Nov 2011 21:11:31 GMT
Author: jorton
Date: Thu Nov 10 21:11:31 2011
New Revision: 1200550

URL: http://svn.apache.org/viewvc?rev=1200550&view=rev
Log:
* modules/proxy/mod_proxy_html.c (comp_urlmap): Fix const-ness warning.

Modified:
    httpd/httpd/trunk/modules/filters/mod_proxy_html.c

Modified: httpd/httpd/trunk/modules/filters/mod_proxy_html.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_proxy_html.c?rev=1200550&r1=1200549&r2=1200550&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_proxy_html.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_proxy_html.c Thu Nov 10 21:11:31 2011
@@ -1054,7 +1054,7 @@ static const char* comp_urlmap(cmd_parms
            /* 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] = '!';
             }



Mime
View raw message