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)
committerVolker Lendecke <vl@samba.org>
Tue, 10 Mar 2009 16:08:51 +0000 (17:08 +0100)
I think we eventually need to pass down the debuglevel here.

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