git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55117f1
)
r6086: default to stderr for error messages in ldb, so we get errors in ldb_connect()
author
Andrew Tridgell
<tridge@samba.org>
Mon, 28 Mar 2005 00:37:27 +0000
(
00:37
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:11:18 +0000
(13:11 -0500)
source/lib/ldb/common/ldb_debug.c
patch
|
blob
|
history
diff --git
a/source/lib/ldb/common/ldb_debug.c
b/source/lib/ldb/common/ldb_debug.c
index 6ba3f30b2d83665e58b049fb75a4e76e94f0f1da..59f00ccc9665bd49a5df0a4297467d996803b9d3 100644
(file)
--- 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);