diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-11-29 10:12:01 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:46:51 -0500 |
commit | b77685a4ae40e6619d82af98e0def173b4f4b7ec (patch) | |
tree | 4078f42d691b6f8bd658ec16649d2f41cf8a082c /source4/dsdb/samdb/ldb_modules | |
parent | 09932e03837e7c41fdc3a2985f005a6b255fd26c (diff) | |
download | samba-b77685a4ae40e6619d82af98e0def173b4f4b7ec.tar.gz samba-b77685a4ae40e6619d82af98e0def173b4f4b7ec.tar.bz2 samba-b77685a4ae40e6619d82af98e0def173b4f4b7ec.zip |
r11957: fixed up code meant for debugging
(This used to be commit 8ca85842579a8a1d8f60259812d04eb7ee27d7aa)
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/rootdse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/rootdse.c b/source4/dsdb/samdb/ldb_modules/rootdse.c index b0a21efea4..df12011d89 100644 --- a/source4/dsdb/samdb/ldb_modules/rootdse.c +++ b/source4/dsdb/samdb/ldb_modules/rootdse.c @@ -74,8 +74,8 @@ failed: */ static int rootdse_search_bytree(struct ldb_module *module, struct ldb_request *req) { -// struct ldb_request r = *req; - struct ldb_search *s = &req->op.search; + struct ldb_request r = *req; + struct ldb_search *s = &r.op.search; int ret; TALLOC_CTX *tmp_ctx; @@ -97,7 +97,7 @@ static int rootdse_search_bytree(struct ldb_module *module, struct ldb_request * } /* grab the static contents of the record */ - ret = ldb_next_request(module, req); + ret = ldb_next_request(module, &r); req->op.search.res = s->res; |