diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-11-07 10:18:26 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-11-07 10:18:26 +0100 |
commit | 843be3bcd9b07ba937944aee206bd4ecdfd65504 (patch) | |
tree | 296bff999fd41e782c6c5dd373396fe5e577face | |
parent | cd16e38e32013c8abb872c179c7f8bf33c92ed25 (diff) | |
download | samba-843be3bcd9b07ba937944aee206bd4ecdfd65504.tar.gz samba-843be3bcd9b07ba937944aee206bd4ecdfd65504.tar.bz2 samba-843be3bcd9b07ba937944aee206bd4ecdfd65504.zip |
ldb_init: use constant for result of "ldb_setup_wellknown_attributes"
-rw-r--r-- | source4/lib/ldb/common/ldb.c | 2 |
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; } |