summaryrefslogtreecommitdiff
path: root/lib/ldb/ldb_tdb/ldb_index.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-10-30 10:21:42 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-10-31 08:13:56 +1100
commitcc6d0decc7980028293168aee267e7610752fc80 (patch)
tree766f0800fdfb0f3fbf7e26aaecae0f38bed3957c /lib/ldb/ldb_tdb/ldb_index.c
parent42c379f0dfdeb36598bb2636aa2b6e3ca4410930 (diff)
downloadsamba-cc6d0decc7980028293168aee267e7610752fc80.tar.gz
samba-cc6d0decc7980028293168aee267e7610752fc80.tar.bz2
samba-cc6d0decc7980028293168aee267e7610752fc80.zip
ldb: Change ltdb_unpack_data to take an ldb_context
It always de-references the module to find the ldb anyway. Andrew Bartlett
Diffstat (limited to 'lib/ldb/ldb_tdb/ldb_index.c')
-rw-r--r--lib/ldb/ldb_tdb/ldb_index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ldb/ldb_tdb/ldb_index.c b/lib/ldb/ldb_tdb/ldb_index.c
index d2ef4b89a6..50c6ded56a 100644
--- a/lib/ldb/ldb_tdb/ldb_index.c
+++ b/lib/ldb/ldb_tdb/ldb_index.c
@@ -1509,7 +1509,7 @@ static int re_index(struct tdb_context *tdb, TDB_DATA key, TDB_DATA data, void *
return -1;
}
- ret = ltdb_unpack_data(module, &data, msg);
+ ret = ltdb_unpack_data(ldb, &data, msg);
if (ret != 0) {
ldb_debug(ldb, LDB_DEBUG_ERROR, "Invalid data for index %s\n",
ldb_dn_get_linearized(msg->dn));