From 491a720354a53b2828454a92e3f4bd8f5bd28f1c Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sun, 15 Jan 2006 06:43:43 +0000 Subject: r12942: this way is better (This used to be commit 982576d2489c9ac3f7d854f598a64a8c4d91a485) --- source4/lib/ldb/modules/asq.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source4/lib/ldb/modules') diff --git a/source4/lib/ldb/modules/asq.c b/source4/lib/ldb/modules/asq.c index 1fbf7521fb..70bb019074 100644 --- a/source4/lib/ldb/modules/asq.c +++ b/source4/lib/ldb/modules/asq.c @@ -146,8 +146,7 @@ static int asq_search(struct ldb_module *module, struct ldb_request *req) exp_req->operation = LDB_REQ_SEARCH; exp_req->op.search.base = ldb_dn_explode(exp_req, el->values[i].data); if (exp_req->op.search.base == NULL) { - build_response(res, ASQ_CTRL_INVALID_ATTRIBUTE_SYNTAX); - return LDB_ERR_OPERATIONS_ERROR; + return build_response(res, ASQ_CTRL_INVALID_ATTRIBUTE_SYNTAX); } exp_req->op.search.scope = LDB_SCOPE_BASE; exp_req->op.search.tree = req->op.search.tree; -- cgit