summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-07 10:18:26 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-07 10:18:26 +0100
commit843be3bcd9b07ba937944aee206bd4ecdfd65504 (patch)
tree296bff999fd41e782c6c5dd373396fe5e577face /source4/lib
parentcd16e38e32013c8abb872c179c7f8bf33c92ed25 (diff)
downloadsamba-843be3bcd9b07ba937944aee206bd4ecdfd65504.tar.gz
samba-843be3bcd9b07ba937944aee206bd4ecdfd65504.tar.bz2
samba-843be3bcd9b07ba937944aee206bd4ecdfd65504.zip
ldb_init: use constant for result of "ldb_setup_wellknown_attributes"
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/common/ldb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/common/ldb.c b/source4/lib/ldb/common/ldb.c
index 732d100827..20e32064ec 100644
--- a/source4/lib/ldb/common/ldb.c
+++ b/source4/lib/ldb/common/ldb.c
@@ -102,7 +102,7 @@ struct ldb_context *ldb_init(TALLOC_CTX *mem_ctx, struct tevent_context *ev_ctx)
}
ret = ldb_setup_wellknown_attributes(ldb);
- if (ret != 0) {
+ if (ret != LDB_SUCCESS) {
talloc_free(ldb);
return NULL;
}