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

Use new ap_casecmpstr[n]() functions where appropriate (not exhaustive).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715876 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yann Ylavic
2015-11-23 16:46:01 +00:00
parent 3c9ddf44bf
commit c80e6b2a34
33 changed files with 216 additions and 283 deletions

View File

@@ -32,7 +32,7 @@ static int proxy_fdpass_canon(request_rec *r, char *url)
{
const char *path;
if (strncasecmp(url, "fd://", 5) == 0) {
if (ap_casecmpstrn(url, "fd://", 5) == 0) {
url += 5;
}
else {
@@ -132,7 +132,7 @@ static int proxy_fdpass_handler(request_rec *r, proxy_worker *worker,
apr_socket_t *sock;
apr_socket_t *clientsock;
if (strncasecmp(url, "fd://", 5) == 0) {
if (ap_casecmpstrn(url, "fd://", 5) == 0) {
url += 5;
}
else {