mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
debug: Use debuglevel_(get|set) function
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Thu Nov 8 11:03:11 CET 2018 on sn-devel-144
This commit is contained in:
committed by
Andreas Schneider
parent
71ef09c1af
commit
2d512b278e
@ -347,7 +347,7 @@ static PyObject *py_lp_dump_a_parameter(PyObject *self, PyObject *args)
|
||||
|
||||
static PyObject *py_lp_log_level(PyObject *self, PyObject *unused)
|
||||
{
|
||||
int ret = DEBUGLEVEL_CLASS[DBGC_CLASS];
|
||||
int ret = debuglevel_get();
|
||||
return PyInt_FromLong(ret);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user