svn commit: samba r13167 - in branches/SAMBA_4_0/source/lib/ldb/tools: .

idra at samba.org idra at samba.org
Thu Jan 26 16:42:26 GMT 2006


Author: idra
Date: 2006-01-26 16:42:25 +0000 (Thu, 26 Jan 2006)
New Revision: 13167

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

Log:

handle cotrols' reply even in error


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-01-26 16:37:37 UTC (rev 13166)
+++ branches/SAMBA_4_0/source/lib/ldb/tools/ldbsearch.c	2006-01-26 16:42:25 UTC (rev 13167)
@@ -87,8 +87,7 @@
 		if (ret != LDB_SUCCESS) {
 			printf("search failed - %s\n", ldb_errstring(ldb));
 			if (req.op.search.res && req.op.search.res->controls) {
-				
-			/*	TODO: handle_control */ 
+				handle_controls_reply(req.op.search.res->controls, req.controls);
 			}
 			return -1;
 		}



More information about the samba-cvs mailing list