From a949ec256ba9ff780b4736ccb39e90893559ebc3 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Fri, 22 Jan 2010 20:03:25 +0000 Subject: [PATCH] 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 --- modules/proxy/proxy_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index 72a951d5c9..85ab9d0139 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); } -- 2.40.0