diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-07 08:20:57 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:19:19 -0500 |
commit | f44b9ae3e6e7d37020d4e644862772428b3a68ae (patch) | |
tree | b453e266aea2c39619fe008e75c242cd3bb370bf /source4/scripting/ejs/smbcalls_rpc.c | |
parent | 3c2dc30b3ee719ceb7846f975b83a79c9cb1a9d7 (diff) | |
download | samba-f44b9ae3e6e7d37020d4e644862772428b3a68ae.tar.gz samba-f44b9ae3e6e7d37020d4e644862772428b3a68ae.tar.bz2 samba-f44b9ae3e6e7d37020d4e644862772428b3a68ae.zip |
r8198: - handled push/pull of simple strings in ejs
- improved the error handling, so the ejs wrappers don't just ignore a type they
don't handle, instead an exception is issued saying what isn't handled
(This used to be commit a77c2aa8606ad668f6a513211a1d9e7d6193d741)
Diffstat (limited to 'source4/scripting/ejs/smbcalls_rpc.c')
-rw-r--r-- | source4/scripting/ejs/smbcalls_rpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/ejs/smbcalls_rpc.c b/source4/scripting/ejs/smbcalls_rpc.c index 631f1c3a37..00675165ea 100644 --- a/source4/scripting/ejs/smbcalls_rpc.c +++ b/source4/scripting/ejs/smbcalls_rpc.c @@ -128,7 +128,7 @@ done: } /* convert the mpr object into a C structure */ - status = ejs_pull_rpc(io, ptr, ejs_pull); + status = ejs_pull_rpc(eid, callname, io, ptr, ejs_pull); if (!NT_STATUS_IS_OK(status)) { goto done; } @@ -152,7 +152,7 @@ done: ndr_print_function_debug(call->ndr_print, call->name, NDR_OUT, ptr); } - status = ejs_push_rpc(io, ptr, ejs_push); + status = ejs_push_rpc(eid, callname, io, ptr, ejs_push); talloc_free(ptr); done: |