diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-03-28 00:37:27 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2005-03-28 00:37:27 +0000 |
commit | cf7a190ea72a5d4fccec79b0925972ae5915321e (patch) | |
tree | d2242785057a49681d218e00373346686984e90e /source/lib/ldb/common/ldb_debug.c | |
parent | 37a980bf0e779c430ff8d75578ade74e2b6bc678 (diff) | |
download | samba-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.c | 2 |
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); |