Commit 8610acde authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

wldap32: Use BOOL type where appropriate.

parent 0ab03840
...@@ -113,13 +113,12 @@ oom: ...@@ -113,13 +113,12 @@ oom:
} }
/* Determine if a URL starts with a known LDAP scheme */ /* Determine if a URL starts with a known LDAP scheme */
static int has_ldap_scheme( char *url ) static BOOL has_ldap_scheme( char *url )
{ {
if (!strncasecmp( url, "ldap://", 7 ) || return !strncasecmp( url, "ldap://", 7 ) ||
!strncasecmp( url, "ldaps://", 8 ) || !strncasecmp( url, "ldaps://", 8 ) ||
!strncasecmp( url, "ldapi://", 8 ) || !strncasecmp( url, "ldapi://", 8 ) ||
!strncasecmp( url, "cldap://", 8 )) return 1; !strncasecmp( url, "cldap://", 8 );
return 0;
} }
/* Flatten an array of hostnames into a space separated string of URLs. /* Flatten an array of hostnames into a space separated string of URLs.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment