X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=dll%2Fwin32%2Fwldap32%2Finit.c;h=5b600a2df78c6e8fa0c468b01ee17e21cb4fe894;hp=fdb79084b502b8819007e64d6d3e7a6d54323da3;hb=6b9bd93fe69dd17e62ae28287c26b7ef6df01041;hpb=cb01e5ecaccc30dc910068469ac08872a144a351;ds=sidebyside diff --git a/dll/win32/wldap32/init.c b/dll/win32/wldap32/init.c index fdb79084b50..5b600a2df78 100644 --- a/dll/win32/wldap32/init.c +++ b/dll/win32/wldap32/init.c @@ -30,6 +30,7 @@ #include "windef.h" #include "winbase.h" #include "winnls.h" +#include "wine/winternl.h" #include "winldap_private.h" #include "wldap32.h" @@ -114,10 +115,10 @@ oom: /* Determine if a URL starts with a known LDAP scheme */ static BOOL has_ldap_scheme( char *url ) { - return !strncasecmp( url, "ldap://", 7 ) || - !strncasecmp( url, "ldaps://", 8 ) || - !strncasecmp( url, "ldapi://", 8 ) || - !strncasecmp( url, "cldap://", 8 ); + return !_strnicmp( url, "ldap://", 7 ) || + !_strnicmp( url, "ldaps://", 8 ) || + !_strnicmp( url, "ldapi://", 8 ) || + !_strnicmp( url, "cldap://", 8 ); } /* Flatten an array of hostnames into a space separated string of URLs.