From: Jim Jagielski Date: Wed, 12 Oct 2005 13:01:25 +0000 (+0000) Subject: Fix -Wall warning... Thanks to Joe for the head's up! X-Git-Tag: 2.3.0~2884 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ed4f2af575f5273e955447547e2e5f2d9408439;p=thirdparty%2Fapache%2Fhttpd.git Fix -Wall warning... Thanks to Joe for the head's up! git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@314875 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index 6aa6f288420..c5ee5776e67 100644 --- a/modules/proxy/proxy_util.c +++ b/modules/proxy/proxy_util.c @@ -1216,10 +1216,10 @@ PROXY_DECLARE(proxy_worker *) ap_proxy_get_worker(apr_pool_t *p, int max_match = 0; int url_length; int worker_name_length; - char *c; + const char *c; int i; - c = strchr(url, ':'); + c = ap_strchr_c(url, ':'); if (c == NULL || c[1] != '/' || c[2] != '/' || c[3] == '\0') return NULL;