summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-10-05 17:24:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:07:46 -0500
commit42bdfc3f6ce61fcd4f0d31c48dee470b62a9d59b (patch)
treebe302d9feb24ec020f677a508df1ac46af83d6a0 /source4
parent20480a795306d1634db5c3cd5ce0ae6c8a13ba47 (diff)
downloadsamba-42bdfc3f6ce61fcd4f0d31c48dee470b62a9d59b.tar.gz
samba-42bdfc3f6ce61fcd4f0d31c48dee470b62a9d59b.tar.bz2
samba-42bdfc3f6ce61fcd4f0d31c48dee470b62a9d59b.zip
r25518: Convert to standard bool types.
(This used to be commit e5cabe14c7c33c4c7215963f504edf65edc36b20)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/ldb-samba/ldif_handlers.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/lib/ldb-samba/ldif_handlers.c b/source4/lib/ldb-samba/ldif_handlers.c
index cfd79563d5..0609694c4b 100644
--- a/source4/lib/ldb-samba/ldif_handlers.c
+++ b/source4/lib/ldb-samba/ldif_handlers.c
@@ -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;
}
/*