]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Use <string.h>-compatible versions of ap_str* functions.
authorNick Kew <niq@apache.org>
Sat, 15 Jul 2006 08:39:41 +0000 (08:39 +0000)
committerNick Kew <niq@apache.org>
Sat, 15 Jul 2006 08:39:41 +0000 (08:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@422178 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy.c

index 7084b5fe5916b6fa0665b35545b28c78180bfe12..26aae7fb9ab7e80cbbe19d8891f74a54def79f09 100644 (file)
@@ -424,11 +424,11 @@ static const char *proxy_interpolate(request_rec *r, const char *str)
     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;
     }