mirror of
https://github.com/samba-team/samba.git
synced 2025-11-08 16:23:49 +03:00
r8320: make sure all our returned objects are full objects, which means they
have the toString() and valueOf() default attributes this allows all our returned objects to be used in logical expressions
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
333b32025f
commit
570f071b15
@@ -674,7 +674,7 @@ static int ejs_list(MprVarHandle eid, int argc, MprVar **argv)
|
||||
|
||||
attribute = mprVarToInteger(argv[2]);
|
||||
|
||||
result = mprCreateObjVar("list", MPR_DEFAULT_HASH_SIZE);
|
||||
result = mprObject("list");
|
||||
|
||||
smbcli_list(tree, mask, attribute, ejs_list_helper, &result);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user