From: Jeff Trawick Date: Fri, 22 Jan 2010 20:03:25 +0000 (+0000) Subject: fix maintainer mode ap_strstr() argument mismatch warnings X-Git-Tag: 2.3.6~562 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a949ec256ba9ff780b4736ccb39e90893559ebc3;p=thirdparty%2Fapache%2Fhttpd.git fix maintainer mode ap_strstr() argument mismatch warnings git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@902245 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index 72a951d5c9f..85ab9d01399 100644 --- a/modules/proxy/proxy_util.c +++ b/modules/proxy/proxy_util.c @@ -1119,9 +1119,9 @@ PROXY_DECLARE(const char *) ap_proxy_location_reverse_map(request_rec *r, const char *part = url; l2 = strlen(real); if (real[0] == '/') { - part = strstr(url, "://"); + part = ap_strstr_c(url, "://"); if (part) { - part = strchr(part+3, '/'); + part = ap_strchr_c(part+3, '/'); if (part) { l1 = strlen(part); }