diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-11 22:40:32 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:20:07 -0500 |
commit | ba1ee57df43fe93c8b650478324ddd6cc1a3c7bc (patch) | |
tree | 520287c2e17509ba1d9a9895b986a1a59a945e80 /source4/scripting/ejs/smbcalls_cli.c | |
parent | 3e5649f79f910c9cad96a362d679f34453e60fa9 (diff) | |
download | samba-ba1ee57df43fe93c8b650478324ddd6cc1a3c7bc.tar.gz samba-ba1ee57df43fe93c8b650478324ddd6cc1a3c7bc.tar.bz2 samba-ba1ee57df43fe93c8b650478324ddd6cc1a3c7bc.zip |
r8333: merged with latest upstream ejs sources
(This used to be commit b0f9ddafe95d4e8d846bc72a39e94d22da271348)
Diffstat (limited to 'source4/scripting/ejs/smbcalls_cli.c')
-rw-r--r-- | source4/scripting/ejs/smbcalls_cli.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/source4/scripting/ejs/smbcalls_cli.c b/source4/scripting/ejs/smbcalls_cli.c index c5611d555d..2433b33352 100644 --- a/source4/scripting/ejs/smbcalls_cli.c +++ b/source4/scripting/ejs/smbcalls_cli.c @@ -86,8 +86,7 @@ static int ejs_cli_connect(MprVarHandle eid, int argc, char **argv) /* Return a socket object */ - mpr_Return(eid, mprCreatePtrVar(transport, - talloc_get_name(transport))); + mpr_Return(eid, mprCreatePtrVar(transport)); return 0; } @@ -214,8 +213,7 @@ static int ejs_cli_ssetup(MprVarHandle eid, int argc, MprVar **argv) /* Return a session object */ - mpr_Return(eid, mprCreatePtrVar(session, - talloc_get_name(session))); + mpr_Return(eid, mprCreatePtrVar(session)); result = 0; @@ -297,8 +295,7 @@ static int ejs_cli_tree_connect(MprVarHandle eid, int argc, MprVar **argv) talloc_free(mem_ctx); - mpr_Return(eid, mprCreatePtrVar(tree, - talloc_get_name(tree))); + mpr_Return(eid, mprCreatePtrVar(tree)); return 0; } @@ -446,7 +443,7 @@ static int ejs_tree_connect(MprVarHandle eid, int argc, char **argv) return 0; } - mpr_Return(eid, mprCreatePtrVar(tree, talloc_get_name(tree))); + mpr_Return(eid, mprCreatePtrVar(tree)); return 0; } |