From: William A. Rowe Jr Date: Wed, 26 Mar 2003 19:31:26 +0000 (+0000) Subject: Apache uses strncasecmp - which we wrap to strnicmp based on the platform's X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=08278d15c54672b4e6970923f79cf47059405ee3;p=apache Apache uses strncasecmp - which we wrap to strnicmp based on the platform's preference, within apr_general.h Fixes build breakage Submitted by: Madhu Mathihalli git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99067 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/experimental/mod_auth_ldap.c b/modules/experimental/mod_auth_ldap.c index 401872569c..1f186478ad 100644 --- a/modules/experimental/mod_auth_ldap.c +++ b/modules/experimental/mod_auth_ldap.c @@ -820,7 +820,7 @@ static const char *mod_auth_ldap_parse_url(cmd_parms *cmd, /* "ldaps" indicates secure ldap connections desired */ - if (strnicmp(url, "ldaps", 5) == 0) + if (strncasecmp(url, "ldaps", 5) == 0) { sec->secure = 1; sec->port = urld->lud_port? urld->lud_port : LDAPS_PORT;