]> granicus.if.org Git - apache/commitdiff
* modules/proxy/mod_proxy.c (proxysection): Fix another strchr() warning.
authorJoe Orton <jorton@apache.org>
Thu, 3 Aug 2006 09:33:35 +0000 (09:33 +0000)
committerJoe Orton <jorton@apache.org>
Thu, 3 Aug 2006 09:33:35 +0000 (09:33 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@428291 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy.c

index 2bfb1b90d7c314790606bcaca5a9d0c38e3fe745..54fff0fe39b22091b1607f5e7dc71c8e34927ebf 100644 (file)
@@ -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);