summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2018-11-07 14:14:05 +0100
committerAndreas Schneider <asn@cryptomilk.org>2018-11-08 11:03:11 +0100
commit2d512b278e5905964c1294c587ba405678c3d10c (patch)
treea891cf0886d58e04d3ad2faadc5545c077865929 /source4/param
parent71ef09c1afdbf967b829cb66b33c3a5cb1c18ba0 (diff)
downloadsamba-2d512b278e5905964c1294c587ba405678c3d10c.tar.gz
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
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/pyparam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/param/pyparam.c b/source4/param/pyparam.c
index 7f69d7b3c8b..e71bb469eee 100644
--- a/source4/param/pyparam.c
+++ b/source4/param/pyparam.c
@@ -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);
}