1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-27 08:23:49 +03:00

r6086: default to stderr for error messages in ldb, so we get errors in ldb_connect()

This commit is contained in:
Andrew Tridgell
2005-03-28 00:37:27 +00:00
committed by Gerald (Jerry) Carter
parent 55117f1ab9
commit a6e492f95c

View File

@@ -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);