From: Joe Orton Date: Thu, 3 Aug 2006 09:33:35 +0000 (+0000) Subject: * modules/proxy/mod_proxy.c (proxysection): Fix another strchr() warning. X-Git-Tag: 2.3.0~2176 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b3265c64fb614dd71aa506bc549460a773650d8b;p=thirdparty%2Fapache%2Fhttpd.git * modules/proxy/mod_proxy.c (proxysection): Fix another strchr() warning. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@428291 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy.c b/modules/proxy/mod_proxy.c index 2bfb1b90d7c..54fff0fe39b 100644 --- a/modules/proxy/mod_proxy.c +++ b/modules/proxy/mod_proxy.c @@ -1774,7 +1774,7 @@ static const char *proxysection(cmd_parms *cmd, void *mconfig, const char *arg) return apr_pstrcat(cmd->pool, thiscmd->name, "> arguments are not supported for wildchar url.", NULL); - if (!strchr(conf->p, ':')) + if (!ap_strchr_c(conf->p, ':')) return apr_pstrcat(cmd->pool, thiscmd->name, "> arguments are not supported for non url.", NULL);