The branch, master has been updated
       via  8c41e0e5a6cdcc2bcaf12ec7916c8ae7c04bf1e7 (commit)
      from  825949b810c6e7b7b977283355e658e2edbb8932 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 8c41e0e5a6cdcc2bcaf12ec7916c8ae7c04bf1e7
Author: Volker Lendecke <v...@samba.org>
Date:   Sat Feb 14 13:18:28 2009 +0100

    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.

-----------------------------------------------------------------------

Summary of changes:
 librpc/ndr/ndr.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)


Changeset truncated at 500 lines:

diff --git a/librpc/ndr/ndr.c b/librpc/ndr/ndr.c
index 2341f51..8188ec9 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;


-- 
Samba Shared Repository

Reply via email to