You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2005/10/12 15:02:15 UTC

svn commit: r314876 - /httpd/httpd/branches/2.2.x/modules/proxy/proxy_util.c

Author: jim
Date: Wed Oct 12 06:02:14 2005
New Revision: 314876

URL: http://svn.apache.org/viewcvs?rev=314876&view=rev
Log:
Merge r314875 from trunk:

Fix -Wall warning... Thanks to Joe for the head's up!

Reviewed by: jim

Modified:
    httpd/httpd/branches/2.2.x/modules/proxy/proxy_util.c

Modified: httpd/httpd/branches/2.2.x/modules/proxy/proxy_util.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.2.x/modules/proxy/proxy_util.c?rev=314876&r1=314875&r2=314876&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/modules/proxy/proxy_util.c (original)
+++ httpd/httpd/branches/2.2.x/modules/proxy/proxy_util.c Wed Oct 12 06:02:14 2005
@@ -1216,10 +1216,10 @@
     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;