1
0
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:
Andrew Tridgell
2005-07-11 10:18:26 +00:00
committed by Gerald (Jerry) Carter
parent 333b32025f
commit 570f071b15
7 changed files with 23 additions and 16 deletions

View File

@@ -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);