summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-09 13:10:07 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-09 13:10:07 +0100
commit49a6d757b4d944cd22c91b2838beb83f04fbe1e9 (patch)
treeb7c41cb116f0cf84f0de2210c31c6bcbd661658f /lib
parent308eb1c46e0c76a30bf869e5e971d531df935d80 (diff)
downloadsamba-49a6d757b4d944cd22c91b2838beb83f04fbe1e9.tar.gz
samba-49a6d757b4d944cd22c91b2838beb83f04fbe1e9.tar.bz2
samba-49a6d757b4d944cd22c91b2838beb83f04fbe1e9.zip
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
Diffstat (limited to 'lib')
-rw-r--r--lib/util/debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/debug.h b/lib/util/debug.h
index 7518a64e19..85e64fb861 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