diff options
Diffstat (limited to 'source4/scripting/ejs/smbcalls.c')
-rw-r--r-- | source4/scripting/ejs/smbcalls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/ejs/smbcalls.c b/source4/scripting/ejs/smbcalls.c index 5972518036..2da1e8c669 100644 --- a/source4/scripting/ejs/smbcalls.c +++ b/source4/scripting/ejs/smbcalls.c @@ -70,7 +70,7 @@ static int ejs_typeof(MprVarHandle eid, int argc, struct MprVar **argv) static int ejs_IfaceList(MprVarHandle eid, int argc, struct MprVar **argv) { int i, count = iface_count(); - struct MprVar ret = mprCreateObjVar("interfaces", MPR_DEFAULT_HASH_SIZE); + struct MprVar ret = mprObject("interfaces"); for (i=0;i<count;i++) { mprAddArray(&ret, i, mprString(iface_n_ip(i))); } |