httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r314875 - /httpd/httpd/trunk/modules/proxy/proxy_util.c
Date Wed, 12 Oct 2005 13:01:26 GMT
Author: jim
Date: Wed Oct 12 06:01:25 2005
New Revision: 314875

URL: http://svn.apache.org/viewcvs?rev=314875&view=rev
Log:
Fix -Wall warning... Thanks to Joe for the head's up!

Modified:
    httpd/httpd/trunk/modules/proxy/proxy_util.c

Modified: httpd/httpd/trunk/modules/proxy/proxy_util.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/proxy/proxy_util.c?rev=314875&r1=314874&r2=314875&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/proxy_util.c (original)
+++ httpd/httpd/trunk/modules/proxy/proxy_util.c Wed Oct 12 06:01:25 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