From 8e4ab747b02207671203d40cd2a78692da78faef Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 15 Aug 2003 18:33:43 +0000 Subject: more fixes from the IRIX compiler (thanks herb!) (This used to be commit 4cf3839b727c77a727abb558bd9473119a092913) --- source4/python/py_common.c | 4 ++-- source4/python/py_lsa.c | 2 +- source4/python/py_samr.c | 2 +- source4/python/py_smb.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'source4/python') diff --git a/source4/python/py_common.c b/source4/python/py_common.c index ea092d9370..d42b54e533 100644 --- a/source4/python/py_common.c +++ b/source4/python/py_common.c @@ -104,11 +104,11 @@ PyObject *py_setup_logging(PyObject *self, PyObject *args, PyObject *kw) } if (interactive) - setup_logging("spoolss", True); + setup_logging("spoolss", DEBUG_STDOUT); if (logfilename) { lp_set_logfile(logfilename); - setup_logging(logfilename, False); + setup_logging(logfilename, DEBUG_FILE ); reopen_logs(); } diff --git a/source4/python/py_lsa.c b/source4/python/py_lsa.c index 22db29665a..2ea7be3645 100644 --- a/source4/python/py_lsa.c +++ b/source4/python/py_lsa.c @@ -463,6 +463,6 @@ void initlsa(void) py_samba_init(); - setup_logging("lsa", True); + setup_logging("lsa", DEBUG_STDOUT); DEBUGLEVEL = 10; } diff --git a/source4/python/py_samr.c b/source4/python/py_samr.c index 182671d047..39cfb3e60c 100644 --- a/source4/python/py_samr.c +++ b/source4/python/py_samr.c @@ -492,6 +492,6 @@ void initsamr(void) py_samba_init(); - setup_logging("samr", True); + setup_logging("samr", DEBUG_STDOUT); DEBUGLEVEL = 10; } diff --git a/source4/python/py_smb.c b/source4/python/py_smb.c index 3f05b5d7c6..52de768558 100644 --- a/source4/python/py_smb.c +++ b/source4/python/py_smb.c @@ -394,6 +394,6 @@ void initsmb(void) py_samba_init(); - setup_logging("smb", True); + setup_logging("smb", DEBUG_STDOUT); DEBUGLEVEL = 10; } -- cgit