From 49a6d757b4d944cd22c91b2838beb83f04fbe1e9 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 9 Jan 2009 13:10:07 +0100 Subject: [PATCH] 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 --- lib/util/debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/debug.h b/lib/util/debug.h index 7518a64e196..85e64fb8616 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 -- 2.34.1