httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r314876 - /httpd/httpd/branches/2.2.x/modules/proxy/proxy_util.c
Date Wed, 12 Oct 2005 13:02:15 GMT
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;
 



Mime
View raw message