summaryrefslogtreecommitdiffstats
path: root/source4/lib/ldb_wrap.c
diff options
context:
space:
mode:
authorAndrew Kroeger <andrew@sprocks.gotdns.com>2008-03-06 00:03:18 -0600
committerAndrew Kroeger <andrew@sprocks.gotdns.com>2008-03-06 00:07:26 -0600
commit0e50fb5e917117de22c5b3c32865d8a40285e362 (patch)
treed269f176d28733e5a1b87237644e0f4c5ab6984d /source4/lib/ldb_wrap.c
parentcdafdaa0d9da5f63a9e4962df4ad47b3da017508 (diff)
downloadsamba-0e50fb5e917117de22c5b3c32865d8a40285e362.tar.gz
samba-0e50fb5e917117de22c5b3c32865d8a40285e362.tar.xz
samba-0e50fb5e917117de22c5b3c32865d8a40285e362.zip
ldb_wrap: Debug at derived samba_level, not the level of the ldb debug enum.
(This used to be commit eb9a7c3b3a7f113ff58e2ebea9886f997da4e085)
Diffstat (limited to 'source4/lib/ldb_wrap.c')
-rw-r--r--source4/lib/ldb_wrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb_wrap.c b/source4/lib/ldb_wrap.c
index 63049b06fc..71ba37b479 100644
--- a/source4/lib/ldb_wrap.c
+++ b/source4/lib/ldb_wrap.c
@@ -63,7 +63,7 @@ static void ldb_wrap_debug(void *context, enum ldb_debug_level level,
};
vasprintf(&s, fmt, ap);
if (!s) return;
- DEBUG(level, ("ldb: %s\n", s));
+ DEBUG(samba_level, ("ldb: %s\n", s));
free(s);
}