From fe9312609694011d9201a3d07df2cde5a75eec05 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 1 May 2006 06:49:02 +0000 Subject: r15372: Don't look at possibly undefined controls in failure cases. Andrew Bartlett (This used to be commit 04f383048ae48af6b28052ba6461fe2e476e7c44) --- source4/lib/ldb/tools/ldbsearch.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source4') 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; } -- cgit