From 44625f76c174e97e8a2c03a196358c604e78f694 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 2 Feb 2009 11:24:08 +0100 Subject: s4:loadparm: s/class/pclass metze --- source4/param/pyparam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/param/pyparam.c') diff --git a/source4/param/pyparam.c b/source4/param/pyparam.c index 42775908ea..07f45d7cf6 100644 --- a/source4/param/pyparam.c +++ b/source4/param/pyparam.c @@ -77,7 +77,7 @@ static PyObject *py_lp_ctx_get_helper(struct loadparm_context *lp_ctx, const cha } parm = lp_parm_struct(param_name); - if (parm == NULL || parm->class == P_GLOBAL) { + if (parm == NULL || parm->pclass == P_GLOBAL) { return NULL; } parm_ptr = lp_parm_ptr(lp_ctx, service, parm); -- cgit