summaryrefslogtreecommitdiff
path: root/source4/python
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-08-15 18:33:43 +0000
committerAndrew Tridgell <tridge@samba.org>2003-08-15 18:33:43 +0000
commit8e4ab747b02207671203d40cd2a78692da78faef (patch)
treec4ebd704ba8a88f67513a61f4e4e5e11e78d6132 /source4/python
parentefacfb37fc0d7310c72c40bfed4b52ecaf365b11 (diff)
downloadsamba-8e4ab747b02207671203d40cd2a78692da78faef.tar.gz
samba-8e4ab747b02207671203d40cd2a78692da78faef.tar.bz2
samba-8e4ab747b02207671203d40cd2a78692da78faef.zip
more fixes from the IRIX compiler (thanks herb!)
(This used to be commit 4cf3839b727c77a727abb558bd9473119a092913)
Diffstat (limited to 'source4/python')
-rw-r--r--source4/python/py_common.c4
-rw-r--r--source4/python/py_lsa.c2
-rw-r--r--source4/python/py_samr.c2
-rw-r--r--source4/python/py_smb.c2
4 files changed, 5 insertions, 5 deletions
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;
}