1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Use <string.h>-compatible versions of ap_str* functions.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@422178 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Kew
2006-07-15 08:39:41 +00:00
parent 58c0a69c7b
commit a3f4adfa28

View 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;
}