diff options
author | Jim Jagielski <jim@apache.org> | 2005-10-12 15:01:25 +0200 |
---|---|---|
committer | Jim Jagielski <jim@apache.org> | 2005-10-12 15:01:25 +0200 |
commit | 3ed4f2af575f5273e955447547e2e5f2d9408439 (patch) | |
tree | 15578235d64b1111bc73f5fddcdcaea4692e0052 /modules/proxy/proxy_util.c | |
parent | * support/ab.c (test): Increment count of started requests when a (diff) | |
download | apache2-3ed4f2af575f5273e955447547e2e5f2d9408439.tar.xz apache2-3ed4f2af575f5273e955447547e2e5f2d9408439.zip |
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
Diffstat (limited to '')
-rw-r--r-- | modules/proxy/proxy_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index 6aa6f28842..c5ee5776e6 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; |