summaryrefslogtreecommitdiffstats
path: root/source/lib/ldb/common/ldb_debug.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-03-28 00:37:27 +0000
committerAndrew Tridgell <tridge@samba.org>2005-03-28 00:37:27 +0000
commitcf7a190ea72a5d4fccec79b0925972ae5915321e (patch)
treed2242785057a49681d218e00373346686984e90e /source/lib/ldb/common/ldb_debug.c
parent37a980bf0e779c430ff8d75578ade74e2b6bc678 (diff)
downloadsamba-cf7a190ea72a5d4fccec79b0925972ae5915321e.tar.gz
samba-cf7a190ea72a5d4fccec79b0925972ae5915321e.tar.xz
samba-cf7a190ea72a5d4fccec79b0925972ae5915321e.zip
r6086: default to stderr for error messages in ldb, so we get errors in ldb_connect()
Diffstat (limited to 'source/lib/ldb/common/ldb_debug.c')
-rw-r--r--source/lib/ldb/common/ldb_debug.c2
1 files changed, 1 insertions, 1 deletions
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);