svn commit: samba r15372 - in
branches/SAMBA_4_0/source/lib/ldb/tools: .
abartlet at samba.org
abartlet at samba.org
Mon May 1 06:49:02 GMT 2006
Author: abartlet
Date: 2006-05-01 06:49:02 +0000 (Mon, 01 May 2006)
New Revision: 15372
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15372
Log:
Don't look at possibly undefined controls in failure cases.
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/lib/ldb/tools/ldbsearch.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/tools/ldbsearch.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/tools/ldbsearch.c 2006-05-01 01:41:57 UTC (rev 15371)
+++ branches/SAMBA_4_0/source/lib/ldb/tools/ldbsearch.c 2006-05-01 06:49:02 UTC (rev 15372)
@@ -89,9 +89,6 @@
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;
}
More information about the samba-cvs
mailing list