Author: idra
Date: 2006-01-15 06:43:43 +0000 (Sun, 15 Jan 2006)
New Revision: 12942

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12942

Log:

this way is better


Modified:
   branches/SAMBA_4_0/source/lib/ldb/modules/asq.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/modules/asq.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/modules/asq.c     2006-01-15 06:12:29 UTC 
(rev 12941)
+++ branches/SAMBA_4_0/source/lib/ldb/modules/asq.c     2006-01-15 06:43:43 UTC 
(rev 12942)
@@ -146,8 +146,7 @@
                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;

Reply via email to