git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2470b0f
)
ldb-tdb: Fix a wrong parameter in ltdb_store
author
Matthieu Patou
<mat@matws.net>
Thu, 27 Dec 2012 05:41:52 +0000
(21:41 -0800)
committer
Andrew Bartlett
<abartlet@samba.org>
Fri, 8 Feb 2013 04:06:33 +0000
(15:06 +1100)
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/ldb_tdb/ldb_tdb.c
patch
|
blob
|
history
diff --git
a/lib/ldb/ldb_tdb/ldb_tdb.c
b/lib/ldb/ldb_tdb/ldb_tdb.c
index 860ee146a605ffe6d6e4b8b833424dc556ae1a16..4fb151622aa12f19a78884bbc52678cb890c2d45 100644
(file)
--- 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;