wldap32: Don't use strcasecmp.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fb30510352
commit
db2f338bcc
@ -30,6 +30,7 @@
|
|||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
#include "winnls.h"
|
#include "winnls.h"
|
||||||
|
#include "winternl.h"
|
||||||
|
|
||||||
#include "winldap_private.h"
|
#include "winldap_private.h"
|
||||||
#include "wldap32.h"
|
#include "wldap32.h"
|
||||||
@ -114,10 +115,10 @@ oom:
|
|||||||
/* Determine if a URL starts with a known LDAP scheme */
|
/* Determine if a URL starts with a known LDAP scheme */
|
||||||
static BOOL has_ldap_scheme( char *url )
|
static BOOL has_ldap_scheme( char *url )
|
||||||
{
|
{
|
||||||
return !strncasecmp( url, "ldap://", 7 ) ||
|
return !_strnicmp( url, "ldap://", 7 ) ||
|
||||||
!strncasecmp( url, "ldaps://", 8 ) ||
|
!_strnicmp( url, "ldaps://", 8 ) ||
|
||||||
!strncasecmp( url, "ldapi://", 8 ) ||
|
!_strnicmp( url, "ldapi://", 8 ) ||
|
||||||
!strncasecmp( url, "cldap://", 8 );
|
!_strnicmp( url, "cldap://", 8 );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Flatten an array of hostnames into a space separated string of URLs.
|
/* Flatten an array of hostnames into a space separated string of URLs.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user