httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n..@apache.org
Subject svn commit: r422178 - /httpd/httpd/trunk/modules/proxy/mod_proxy.c
Date Sat, 15 Jul 2006 08:39:42 GMT
Author: niq
Date: Sat Jul 15 01:39:41 2006
New Revision: 422178

URL: http://svn.apache.org/viewvc?rev=422178&view=rev
Log:
Use <string.h>-compatible versions of ap_str* functions.

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

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy.c?rev=422178&r1=422177&r2=422178&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy.c Sat Jul 15 01:39:41 2006
@@ -424,11 +424,11 @@
     const char *val;
     const char *firstpart;
     
-    start = ap_strstr(str, "${");
+    start = ap_strstr_c(str, "${");
     if (start == NULL) {
         return str;
     }
-    end = ap_strchr(start+2, '}');
+    end = ap_strchr_c(start+2, '}');
     if (end == NULL) {
         return str;
     }



Mime
View raw message