diff options
author | Simo Sorce <idra@samba.org> | 2006-01-15 06:43:43 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:51:11 -0500 |
commit | 491a720354a53b2828454a92e3f4bd8f5bd28f1c (patch) | |
tree | eb7f109d4d8b7b6273a313f809541644c8272a19 | |
parent | 3725b1817f1e26370015d955622f0705e9121714 (diff) | |
download | samba-491a720354a53b2828454a92e3f4bd8f5bd28f1c.tar.gz samba-491a720354a53b2828454a92e3f4bd8f5bd28f1c.tar.bz2 samba-491a720354a53b2828454a92e3f4bd8f5bd28f1c.zip |
r12942: this way is better
(This used to be commit 982576d2489c9ac3f7d854f598a64a8c4d91a485)
-rw-r--r-- | source4/lib/ldb/modules/asq.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; |