diff options
author | Volker Lendecke <vl@samba.org> | 2009-02-14 13:18:28 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-03-11 08:30:42 +0100 |
commit | 6aa55d24912f6631d1c708051b725fce7f8d74f2 (patch) | |
tree | 3d413eb42de5cdb881f9c4c618bbd8b704a15059 | |
parent | 2a86f7546872cea3a7164dab273b8716ed26005a (diff) | |
download | samba-6aa55d24912f6631d1c708051b725fce7f8d74f2.tar.gz samba-6aa55d24912f6631d1c708051b725fce7f8d74f2.tar.xz samba-6aa55d24912f6631d1c708051b725fce7f8d74f2.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 20086d0f4ac318f245bb48fc45999c9104ddccef)
-rw-r--r-- | source/librpc/ndr/ndr.c | 4 |
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); } |