svn commit: samba r6086 - in branches/SAMBA_4_0/source/lib/ldb/common: .

tridge at samba.org tridge at samba.org
Mon Mar 28 00:37:28 GMT 2005


Author: tridge
Date: 2005-03-28 00:37:27 +0000 (Mon, 28 Mar 2005)
New Revision: 6086

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

Log:
default to stderr for error messages in ldb, so we get errors in ldb_connect()

Modified:
   branches/SAMBA_4_0/source/lib/ldb/common/ldb_debug.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb_debug.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/common/ldb_debug.c	2005-03-28 00:06:13 UTC (rev 6085)
+++ branches/SAMBA_4_0/source/lib/ldb/common/ldb_debug.c	2005-03-28 00:37:27 UTC (rev 6086)
@@ -79,7 +79,7 @@
 {
 	va_list ap;
 	if (ldb->debug_ops.debug == NULL) {
-		return;
+		ldb_set_debug_stderr(ldb);
 	}
 	va_start(ap, fmt);
 	ldb->debug_ops.debug(ldb->debug_ops.context, level, fmt, ap);



More information about the samba-cvs mailing list