diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-10-02 13:00:33 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:07:40 -0500 |
commit | 30047a95432984c8c450b8a819b9f742bdedf66b (patch) | |
tree | 5b7a53213885ec2f7b46a99e971e80d728a24481 /source4/scripting | |
parent | 569903dd0c8adb8e529c8a87da841e3a01baaa7f (diff) | |
download | samba-30047a95432984c8c450b8a819b9f742bdedf66b.tar.gz samba-30047a95432984c8c450b8a819b9f742bdedf66b.tar.bz2 samba-30047a95432984c8c450b8a819b9f742bdedf66b.zip |
r25460: use common structure in param/generic.c
(This used to be commit 01ce5448f44ddda7ec864d812fe23f0fa68d1561)
Diffstat (limited to 'source4/scripting')
-rw-r--r-- | source4/scripting/ejs/smbcalls_param.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/ejs/smbcalls_param.c b/source4/scripting/ejs/smbcalls_param.c index 9dfad39ee7..830c45d978 100644 --- a/source4/scripting/ejs/smbcalls_param.c +++ b/source4/scripting/ejs/smbcalls_param.c @@ -155,10 +155,10 @@ static int ejs_param_data(MprVarHandle eid, int argc, char **argv) for (sec = ctx->sections; sec; sec = sec->next) { struct MprVar ps = mprObject("array"); - struct param *p; + struct param_opt *p; for (p = sec->parameters; p; p = p->next) { - mprSetVar(&ps, p->name, mprString(p->value)); + mprSetVar(&ps, p->key, mprString(p->value)); } mprSetVar(&ret, sec->name, ps); |