From b77685a4ae40e6619d82af98e0def173b4f4b7ec Mon Sep 17 00:00:00 2001
From: Andrew Tridgell <tridge@samba.org>
Date: Tue, 29 Nov 2005 10:12:01 +0000
Subject: r11957: fixed up code meant for debugging (This used to be commit
 8ca85842579a8a1d8f60259812d04eb7ee27d7aa)

---
 source4/dsdb/samdb/ldb_modules/rootdse.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'source4')

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;
 
-- 
cgit