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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user