summaryrefslogtreecommitdiff
path: root/source4/param/pyparam.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-06-29 14:15:32 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-06-29 15:44:09 +1000
commit7384a2b0b7c373b97b44705b994d0eb040300d5a (patch)
treee8998eb66cac672210e8272434ae64bb460d719e /source4/param/pyparam.c
parent658f55bbb73a199fa51fc945216660be76fffc1b (diff)
downloadsamba-7384a2b0b7c373b97b44705b994d0eb040300d5a.tar.gz
samba-7384a2b0b7c373b97b44705b994d0eb040300d5a.tar.bz2
samba-7384a2b0b7c373b97b44705b994d0eb040300d5a.zip
s4-param Merge struct parm_struct with version from source3/
Diffstat (limited to 'source4/param/pyparam.c')
-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 e1ba18415d..cab009746d 100644
--- a/source4/param/pyparam.c
+++ b/source4/param/pyparam.c
@@ -74,7 +74,7 @@ static PyObject *py_lp_ctx_get_helper(struct loadparm_context *lp_ctx, const cha
}
parm = lpcfg_parm_struct(param_name);
- if (parm == NULL || parm->pclass == P_GLOBAL) {
+ if (parm == NULL || parm->p_class == P_GLOBAL) {
return NULL;
}
parm_ptr = lpcfg_parm_ptr(lp_ctx, service, parm);