r25518: Convert to standard bool types.
authorJelmer Vernooij <jelmer@samba.org>
Fri, 5 Oct 2007 17:24:50 +0000 (17:24 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 20:07:46 +0000 (15:07 -0500)
source/lib/ldb-samba/ldif_handlers.c

index cfd79563d541a695857cb9c30b4170d2e5b8828f..0609694c4b89aaaf82409a351c4272a8a53fe686 100644 (file)
@@ -78,7 +78,7 @@ static int ldif_write_objectSid(struct ldb_context *ldb, void *mem_ctx,
        return 0;
 }
 
-static BOOL ldb_comparision_objectSid_isString(const struct ldb_val *v)
+static bool ldb_comparision_objectSid_isString(const struct ldb_val *v)
 {
        if (v->length < 3) {
                return False;
@@ -86,7 +86,7 @@ static BOOL ldb_comparision_objectSid_isString(const struct ldb_val *v)
 
        if (strncmp("S-", (const char *)v->data, 2) != 0) return False;
        
-       return True;
+       return true;
 }
 
 /*
@@ -176,7 +176,7 @@ static int ldif_write_objectGUID(struct ldb_context *ldb, void *mem_ctx,
        return 0;
 }
 
-static BOOL ldb_comparision_objectGUID_isString(const struct ldb_val *v)
+static bool ldb_comparision_objectGUID_isString(const struct ldb_val *v)
 {
        struct GUID guid;
        NTSTATUS status;
@@ -191,7 +191,7 @@ static BOOL ldb_comparision_objectGUID_isString(const struct ldb_val *v)
                return False;
        }
 
-       return True;
+       return true;
 }
 
 /*