summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/common/ldb_dn.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2005-08-18 16:41:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:33:33 -0500
commitf2ac4b8d6b24bec9aecfe00daf8c0b4ccf3964a6 (patch)
treefbdb6a42b87d34aec0351018cf01542bbb025df9 /source4/lib/ldb/common/ldb_dn.c
parent7c7b93f6497737a09d3e76a626ee4f20284effde (diff)
downloadsamba-f2ac4b8d6b24bec9aecfe00daf8c0b4ccf3964a6.tar.gz
samba-f2ac4b8d6b24bec9aecfe00daf8c0b4ccf3964a6.tar.bz2
samba-f2ac4b8d6b24bec9aecfe00daf8c0b4ccf3964a6.zip
r9394: avoid to use BOOL in ldb
(This used to be commit d2055849fba56e8620403621f3fb9684f24e853f)
Diffstat (limited to 'source4/lib/ldb/common/ldb_dn.c')
-rw-r--r--source4/lib/ldb/common/ldb_dn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/common/ldb_dn.c b/source4/lib/ldb/common/ldb_dn.c
index 12078231b8..20cef9dd81 100644
--- a/source4/lib/ldb/common/ldb_dn.c
+++ b/source4/lib/ldb/common/ldb_dn.c
@@ -43,14 +43,14 @@
#define LDB_SPECIAL "@SPECIAL"
-BOOL ldb_dn_is_special(const struct ldb_dn *dn)
+int ldb_dn_is_special(const struct ldb_dn *dn)
{
if (dn == NULL || dn->comp_num != 1) return 0;
return ! strcmp(dn->components[0].name, LDB_SPECIAL);
}
-BOOL ldb_dn_check_special(const struct ldb_dn *dn, const char *check)
+int ldb_dn_check_special(const struct ldb_dn *dn, const char *check)
{
if (dn == NULL || dn->comp_num != 1) return 0;