summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/common
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-03-28 00:37:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:11:18 -0500
commitbe6285adadfe7f66fffc4dc7d6de3a2dfef65d2a (patch)
treeb4cc0817d6f7acb9101375e710532b9f732e40bb /source4/lib/ldb/common
parent1a4bb9f4aab72bc61b4dccf8f6eea91307f10401 (diff)
downloadsamba-be6285adadfe7f66fffc4dc7d6de3a2dfef65d2a.tar.gz
samba-be6285adadfe7f66fffc4dc7d6de3a2dfef65d2a.tar.bz2
samba-be6285adadfe7f66fffc4dc7d6de3a2dfef65d2a.zip
r6086: default to stderr for error messages in ldb, so we get errors in ldb_connect()
(This used to be commit a6e492f95c6f31ed37ee32a13a34fa2847d8352d)
Diffstat (limited to 'source4/lib/ldb/common')
-rw-r--r--source4/lib/ldb/common/ldb_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/common/ldb_debug.c b/source4/lib/ldb/common/ldb_debug.c
index 6ba3f30b2d..59f00ccc96 100644
--- a/source4/lib/ldb/common/ldb_debug.c
+++ b/source4/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);