[SCM] Samba Shared Repository - branch master updated - 49a6d757b4d944cd22c91b2838beb83f04fbe1e9

Stefan Metzmacher metze at samba.org
Fri Jan 9 12:13:26 GMT 2009


The branch, master has been updated
       via  49a6d757b4d944cd22c91b2838beb83f04fbe1e9 (commit)
      from  308eb1c46e0c76a30bf869e5e971d531df935d80 (commit)

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


- Log -----------------------------------------------------------------
commit 49a6d757b4d944cd22c91b2838beb83f04fbe1e9
Author: Stefan Metzmacher <metze at samba.org>
Date:   Fri Jan 9 13:10:07 2009 +0100

    s4:debug: make setup_logging() a bit more compatible with samba3
    
    In samba3 the 2nd argument is bool interactive.
    E.g ndrdump uses true there which used to map to DEBUG_FILE
    in samba4, it maps to DEBUG_STDOUT now, which is better.
    
    In the end end samba3 should also use the samba4 version of
    setup_logging()
    
    metze

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

Summary of changes:
 lib/util/debug.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/util/debug.h b/lib/util/debug.h
index 7518a64..85e64fb 100644
--- a/lib/util/debug.h
+++ b/lib/util/debug.h
@@ -75,7 +75,7 @@ extern int DEBUGLEVEL;
 #define DEBUGTAB(n) do_debug_tab(n)
 
 /** Possible destinations for the debug log */
-enum debug_logtype {DEBUG_STDOUT = 0, DEBUG_FILE = 1, DEBUG_STDERR = 2};
+enum debug_logtype {DEBUG_FILE = 0, DEBUG_STDOUT = 1, DEBUG_STDERR = 2};
 
 /**
   the backend for debug messages. Note that the DEBUG() macro has already


-- 
Samba Shared Repository


More information about the samba-cvs mailing list