httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r902245 - /httpd/httpd/trunk/modules/proxy/proxy_util.c
Date Fri, 22 Jan 2010 20:03:26 GMT
Author: trawick
Date: Fri Jan 22 20:03:25 2010
New Revision: 902245

URL: http://svn.apache.org/viewvc?rev=902245&view=rev
Log:
fix maintainer mode ap_strstr() argument mismatch warnings

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

Modified: httpd/httpd/trunk/modules/proxy/proxy_util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/proxy_util.c?rev=902245&r1=902244&r2=902245&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/proxy_util.c (original)
+++ httpd/httpd/trunk/modules/proxy/proxy_util.c Fri Jan 22 20:03:25 2010
@@ -1119,9 +1119,9 @@
             const char *part = url;
             l2 = strlen(real);
             if (real[0] == '/') {
-                part = strstr(url, "://");
+                part = ap_strstr_c(url, "://");
                 if (part) {
-                    part = strchr(part+3, '/');
+                    part = ap_strchr_c(part+3, '/');
                     if (part) {
                         l1 = strlen(part);
                     }



Mime
View raw message