wldap32: Use BOOL type where appropriate

Frédéric Delanoy frederic.delanoy at gmail.com
Mon Sep 30 17:06:51 CDT 2013


---
 dlls/wldap32/init.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/wldap32/init.c b/dlls/wldap32/init.c
index b5aed58..54b5b24 100644
--- a/dlls/wldap32/init.c
+++ b/dlls/wldap32/init.c
@@ -113,13 +113,13 @@ oom:
 }
 
 /* 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 ) || 
         !strncasecmp( url, "ldaps://", 8 ) ||
         !strncasecmp( url, "ldapi://", 8 ) ||
-        !strncasecmp( url, "cldap://", 8 )) return 1;
-    return 0;
+        !strncasecmp( url, "cldap://", 8 )) return TRUE;
+    return FALSE;
 }
 
 /* Flatten an array of hostnames into a space separated string of URLs.
-- 
1.8.4




More information about the wine-patches mailing list