diff options
author | Volker Lendecke <vl@samba.org> | 2009-02-14 13:18:28 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-03-10 17:07:38 +0100 |
commit | 8c41e0e5a6cdcc2bcaf12ec7916c8ae7c04bf1e7 (patch) | |
tree | f04f951ef10fde60aa67cd8484a4d3cff5dba62b /librpc | |
parent | 825949b810c6e7b7b977283355e658e2edbb8932 (diff) | |
download | samba-8c41e0e5a6cdcc2bcaf12ec7916c8ae7c04bf1e7.tar.gz samba-8c41e0e5a6cdcc2bcaf12ec7916c8ae7c04bf1e7.tar.bz2 samba-8c41e0e5a6cdcc2bcaf12ec7916c8ae7c04bf1e7.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.
Diffstat (limited to 'librpc')
-rw-r--r-- | librpc/ndr/ndr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/librpc/ndr/ndr.c b/librpc/ndr/ndr.c index 2341f51faa..8188ec998f 100644 --- a/librpc/ndr/ndr.c +++ b/librpc/ndr/ndr.c @@ -179,10 +179,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); } @@ -211,7 +211,7 @@ _PUBLIC_ void ndr_print_debug(ndr_print_fn_t fn, const char *name, void *ptr) { struct ndr_print *ndr; - DEBUG(0,(" ")); + DEBUG(1,(" ")); ndr = talloc_zero(NULL, struct ndr_print); if (!ndr) return; @@ -229,7 +229,7 @@ _PUBLIC_ void ndr_print_union_debug(ndr_print_fn_t fn, const char *name, uint32_ { struct ndr_print *ndr; - DEBUG(0,(" ")); + DEBUG(1,(" ")); ndr = talloc_zero(NULL, struct ndr_print); if (!ndr) return; @@ -248,7 +248,7 @@ _PUBLIC_ void ndr_print_function_debug(ndr_print_function_t fn, const char *name { struct ndr_print *ndr; - DEBUG(0,(" ")); + DEBUG(1,(" ")); ndr = talloc_zero(NULL, struct ndr_print); if (!ndr) return; |