Don't log NDR_PRINT_DEBUG at level 0, this always ends up in syslog
authorVolker Lendecke <vl@samba.org>
Sat, 14 Feb 2009 12:18:28 +0000 (13:18 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 11 Mar 2009 07:30:42 +0000 (08:30 +0100)
I think we eventually need to pass down the debuglevel here.
(cherry picked from commit 20086d0f4ac318f245bb48fc45999c9104ddccef)

source/librpc/ndr/ndr.c

index d94d12e1466c0ad66e5f52f20c5b347d880f76f0..84ce4bd945b1d21fc70f4357c1cd6823d49fe2da 100644 (file)
@@ -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);
 }