summaryrefslogtreecommitdiff
path: root/source4/scripting/ejs/smbcalls_options.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-12 02:34:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:20:07 -0500
commitb1e93b296ea8f62ce0f15ccef5f6ae5339f4929f (patch)
tree2ba5c18f14d374a29a79061ee17b7dff28186355 /source4/scripting/ejs/smbcalls_options.c
parent36bb0ffd4c59b17c7f942d874e18865707d3c696 (diff)
downloadsamba-b1e93b296ea8f62ce0f15ccef5f6ae5339f4929f.tar.gz
samba-b1e93b296ea8f62ce0f15ccef5f6ae5339f4929f.tar.bz2
samba-b1e93b296ea8f62ce0f15ccef5f6ae5339f4929f.zip
r8337: - use 64 bit access functions in ejs calls
- added access to smbd random functions - fixed ordering in join() - added sys_interfaces(), sys_hostname(), sys_nttime() and sys_ldaptime() (This used to be commit 28c1a1f3c0cd2f8228fd8c3c695ab6f45226fa3f)
Diffstat (limited to 'source4/scripting/ejs/smbcalls_options.c')
-rw-r--r--source4/scripting/ejs/smbcalls_options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/ejs/smbcalls_options.c b/source4/scripting/ejs/smbcalls_options.c
index 335663acfe..df871cbb96 100644
--- a/source4/scripting/ejs/smbcalls_options.c
+++ b/source4/scripting/ejs/smbcalls_options.c
@@ -73,7 +73,7 @@ static int ejs_GetOptions(MprVarHandle eid, int argc, struct MprVar **argv)
return -1;
}
- opt_argv = mprToList(tmp_ctx, argv[0]);
+ opt_argv = mprToArray(tmp_ctx, argv[0]);
options = argv[1];
opt_argc = str_list_length(opt_argv);