summaryrefslogtreecommitdiff
path: root/source4/scripting/ejs/smbcalls_options.c
diff options
context:
space:
mode:
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);