summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-02-14 13:18:28 +0100
committerKarolin Seeger <kseeger@samba.org>2009-03-27 13:06:53 +0100
commit5452a1a405424bfd5ae175353dd02dd2f18da11a (patch)
tree3b9823cdd00de7afd5018dfef521fcfb69da376c
parente8c1a7eba2ff153defcf5e5dd89db251634ea973 (diff)
downloadsamba-5452a1a405424bfd5ae175353dd02dd2f18da11a.tar.gz
samba-5452a1a405424bfd5ae175353dd02dd2f18da11a.tar.xz
samba-5452a1a405424bfd5ae175353dd02dd2f18da11a.zip
Don't log NDR_PRINT_DEBUG at level 0, this always ends up in syslog
I think we eventually need to pass down the debuglevel here. (cherry picked from commit b2f6110d3ac5d60054a7e5a1d365f0a1f67a2f42)
-rw-r--r--source/librpc/ndr/ndr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/librpc/ndr/ndr.c b/source/librpc/ndr/ndr.c
index d94d12e1466..84ce4bd945b 100644
--- a/source/librpc/ndr/ndr.c
+++ b/source/librpc/ndr/ndr.c
@@ -187,10 +187,10 @@ _PUBLIC_ void ndr_print_debug_helper(struct ndr_print *ndr, const char *format,
}
for (i=0;i<ndr->depth;i++) {
- DEBUGADD(0,(" "));
+ DEBUGADD(1,(" "));
}
- DEBUGADD(0,("%s\n", s));
+ DEBUGADD(1,("%s\n", s));
free(s);
}