summaryrefslogtreecommitdiff
path: root/source4/scripting/ejs/smbcalls_cli.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-25 12:51:55 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-25 12:51:55 +0100
commit3101cb888d5cbad785050b8491b138d683d444fb (patch)
tree4afb829887f209cbf4564918c1a223fcb42dcb93 /source4/scripting/ejs/smbcalls_cli.c
parent4590432d6290fd1c21a27ec5e6643d455e4fec69 (diff)
downloadsamba-3101cb888d5cbad785050b8491b138d683d444fb.tar.gz
samba-3101cb888d5cbad785050b8491b138d683d444fb.tar.bz2
samba-3101cb888d5cbad785050b8491b138d683d444fb.zip
Remove uses of global_loadparm.
(This used to be commit a16c9a2129ce92e7e1a613b2badd168e42ead436)
Diffstat (limited to 'source4/scripting/ejs/smbcalls_cli.c')
-rw-r--r--source4/scripting/ejs/smbcalls_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/ejs/smbcalls_cli.c b/source4/scripting/ejs/smbcalls_cli.c
index 4f2d52b25c..dbb36312da 100644
--- a/source4/scripting/ejs/smbcalls_cli.c
+++ b/source4/scripting/ejs/smbcalls_cli.c
@@ -445,7 +445,7 @@ static int ejs_tree_connect(MprVarHandle eid, int argc, char **argv)
io.in.credentials = creds;
io.in.fallback_to_anonymous = false;
io.in.workgroup = lp_workgroup(mprLpCtx());
- lp_smbcli_options(global_loadparm, &io.in.options);
+ lp_smbcli_options(mprLpCtx(), &io.in.options);
result = smb_composite_connect(&io, mem_ctx,
lp_resolve_context(mprLpCtx()),