]> granicus.if.org Git - apache/commitdiff
Apache uses strncasecmp - which we wrap to strnicmp based on the platform's
authorWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 26 Mar 2003 19:31:26 +0000 (19:31 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 26 Mar 2003 19:31:26 +0000 (19:31 +0000)
  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

modules/experimental/mod_auth_ldap.c

index 401872569c5f95663a3a5fed6aa1b05c76b16732..1f186478ad8703c723ce9e65b8f081a084d4155e 100644 (file)
@@ -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;