summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/ldb/tools/ldbsearch.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/lib/ldb/tools/ldbsearch.c b/source4/lib/ldb/tools/ldbsearch.c
index 77f54fee65..3c36d3be14 100644
--- a/source4/lib/ldb/tools/ldbsearch.c
+++ b/source4/lib/ldb/tools/ldbsearch.c
@@ -89,9 +89,6 @@ static int do_search(struct ldb_context *ldb,
ret = ldb_request(ldb, req);
if (ret != LDB_SUCCESS) {
printf("search failed - %s\n", ldb_errstring(ldb));
- if (req->op.search.res && req->op.search.res->controls) {
- handle_controls_reply(req->op.search.res->controls, req->controls);
- }
return -1;
}