From cf7a190ea72a5d4fccec79b0925972ae5915321e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 28 Mar 2005 00:37:27 +0000 Subject: r6086: default to stderr for error messages in ldb, so we get errors in ldb_connect() --- source/lib/ldb/common/ldb_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/lib/ldb/common/ldb_debug.c') diff --git a/source/lib/ldb/common/ldb_debug.c b/source/lib/ldb/common/ldb_debug.c index 6ba3f30b2d8..59f00ccc966 100644 --- a/source/lib/ldb/common/ldb_debug.c +++ b/source/lib/ldb/common/ldb_debug.c @@ -79,7 +79,7 @@ void ldb_debug(struct ldb_context *ldb, enum ldb_debug_level level, const char * { 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); -- cgit