summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-03-05 16:59:02 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2011-03-10 11:12:04 +0100
commitf68d54269cd087dc7f9168fe2711beddcb0ce94e (patch)
tree94dd959dec9e95250c5f3ceef4bdf76710127823
parent8872a622667a9f2ff7a7213ae2ba82d93e3e14b2 (diff)
downloadsamba-f68d54269cd087dc7f9168fe2711beddcb0ce94e.tar.gz
samba-f68d54269cd087dc7f9168fe2711beddcb0ce94e.tar.xz
samba-f68d54269cd087dc7f9168fe2711beddcb0ce94e.zip
s4:instancetype LDB module - use "ldb" pointer for referencing the LDB context
-rw-r--r--source4/dsdb/samdb/ldb_modules/instancetype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/instancetype.c b/source4/dsdb/samdb/ldb_modules/instancetype.c
index c557fe1eccd..21212bffa7e 100644
--- a/source4/dsdb/samdb/ldb_modules/instancetype.c
+++ b/source4/dsdb/samdb/ldb_modules/instancetype.c
@@ -137,7 +137,7 @@ static int instancetype_add(struct ldb_module *module, struct ldb_request *req)
ac->module = module;
ac->req = req;
- ret = ldb_build_add_req(&ac->add_req, ldb_module_get_ctx(ac->module), ac,
+ ret = ldb_build_add_req(&ac->add_req, ldb, ac,
ac->req->op.add.message,
ac->req->controls,
ac, it_add_callback,