summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_tdb
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-10-21 08:45:06 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-10-21 08:59:59 +0200
commitde9b7372334483786c856db9b55ae0f24308f27f (patch)
tree03181227754adb1c4c8b9ac0c6ba9058ccc1e8e9 /source4/lib/ldb/ldb_tdb
parent4a33071e831b56f85bfd39918227e81b46360e35 (diff)
downloadsamba-de9b7372334483786c856db9b55ae0f24308f27f.tar.gz
samba-de9b7372334483786c856db9b55ae0f24308f27f.tar.bz2
samba-de9b7372334483786c856db9b55ae0f24308f27f.zip
ldb:ldb_tdb/ldb_cache.c - in this function we don't use LDB return codes
Diffstat (limited to 'source4/lib/ldb/ldb_tdb')
-rw-r--r--source4/lib/ldb/ldb_tdb/ldb_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_cache.c b/source4/lib/ldb/ldb_tdb/ldb_cache.c
index 6b1eb5b148..f318166ceb 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_cache.c
+++ b/source4/lib/ldb/ldb_tdb/ldb_cache.c
@@ -120,7 +120,7 @@ static int ltdb_attributes_load(struct ldb_module *module)
if (ldb->schema.attribute_handler_override) {
/* we skip loading the @ATTRIBUTES record when a module is supplying
its own attribute handling */
- return LDB_SUCCESS;
+ return 0;
}
dn = ldb_dn_new(module, ldb, LTDB_ATTRIBUTES);