diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-07 23:56:53 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:48:48 +0100 |
commit | 47554fd72e00911f05c1c16f1af4d06481d32882 (patch) | |
tree | bba372b491472cb5cfeede2fc8171bd7fb24a869 /source4/scripting/ejs | |
parent | da2ae4995370affe57cfecfe371a4edf553065d0 (diff) | |
download | samba-47554fd72e00911f05c1c16f1af4d06481d32882.tar.gz samba-47554fd72e00911f05c1c16f1af4d06481d32882.tar.bz2 samba-47554fd72e00911f05c1c16f1af4d06481d32882.zip |
r26338: Fix parameter, typo.
(This used to be commit 2a005096dd41f66fd99577d6ca7eb3e0f1cb30f2)
Diffstat (limited to 'source4/scripting/ejs')
-rw-r--r-- | source4/scripting/ejs/smbcalls_config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/ejs/smbcalls_config.c b/source4/scripting/ejs/smbcalls_config.c index 122d78ac20..347cb758fe 100644 --- a/source4/scripting/ejs/smbcalls_config.c +++ b/source4/scripting/ejs/smbcalls_config.c @@ -98,7 +98,7 @@ static int ejs_lpGet(MprVarHandle eid, int argc, char **argv) mpr_Return(eid, mprCreateUndefinedVar()); return 0; } - parm_ptr = lp_parm_ptr(service, parm); + parm_ptr = lp_parm_ptr(global_loadparm, service, parm); } else if (strchr(argv[0], ':')) { /* its a global parametric option */ const char *type = talloc_strndup(mprMemCtx(), @@ -123,7 +123,7 @@ static int ejs_lpGet(MprVarHandle eid, int argc, char **argv) mpr_Return(eid, mprCreateUndefinedVar()); return 0; } - parm_ptr = lp_parm_ptr(NULL, parm); + parm_ptr = lp_parm_ptr(global_loadparm, NULL, parm); } if (parm == NULL || parm_ptr == NULL) { |