diff options
author | Matthieu Patou <mat@matws.net> | 2012-12-26 21:41:52 -0800 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-02-08 15:06:33 +1100 |
commit | 1e4e51f4c913a3821d7ecbd0842280240917ae38 (patch) | |
tree | 854809be6ee484fd6d288b6912539e546b9cf9fc | |
parent | 2470b0fe5f3facf7bb41acbdb3028e2d5daaf8da (diff) | |
download | samba-1e4e51f4c913a3821d7ecbd0842280240917ae38.tar.gz samba-1e4e51f4c913a3821d7ecbd0842280240917ae38.tar.bz2 samba-1e4e51f4c913a3821d7ecbd0842280240917ae38.zip |
ldb-tdb: Fix a wrong parameter in ltdb_store
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r-- | lib/ldb/ldb_tdb/ldb_tdb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ldb/ldb_tdb/ldb_tdb.c b/lib/ldb/ldb_tdb/ldb_tdb.c index 860ee146a6..4fb151622a 100644 --- a/lib/ldb/ldb_tdb/ldb_tdb.c +++ b/lib/ldb/ldb_tdb/ldb_tdb.c @@ -265,7 +265,8 @@ int ltdb_store(struct ldb_module *module, const struct ldb_message *msg, int flg return LDB_ERR_OTHER; } - ret = ldb_pack_data(module, msg, (struct ldb_val *)&tdb_data); + ret = ldb_pack_data(ldb_module_get_ctx(module), + msg, (struct ldb_val *)&tdb_data); if (ret == -1) { talloc_free(tdb_key.dptr); return LDB_ERR_OTHER; |