diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-10-30 10:21:42 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-10-31 08:13:56 +1100 |
commit | cc6d0decc7980028293168aee267e7610752fc80 (patch) | |
tree | 766f0800fdfb0f3fbf7e26aaecae0f38bed3957c /lib/ldb/ldb_tdb/ldb_tdb.h | |
parent | 42c379f0dfdeb36598bb2636aa2b6e3ca4410930 (diff) | |
download | samba-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_tdb.h')
-rw-r--r-- | lib/ldb/ldb_tdb/ldb_tdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ldb/ldb_tdb/ldb_tdb.h b/lib/ldb/ldb_tdb/ldb_tdb.h index c89dd7f1ae..ea85ca1be7 100644 --- a/lib/ldb/ldb_tdb/ldb_tdb.h +++ b/lib/ldb/ldb_tdb/ldb_tdb.h @@ -99,7 +99,7 @@ int ltdb_pack_data(struct ldb_module *module, TDB_DATA *data); void ltdb_unpack_data_free(struct ldb_module *module, struct ldb_message *message); -int ltdb_unpack_data(struct ldb_module *module, +int ltdb_unpack_data(struct ldb_context *ldb, const TDB_DATA *data, struct ldb_message *message); |