From f44b9ae3e6e7d37020d4e644862772428b3a68ae Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 7 Jul 2005 08:20:57 +0000 Subject: 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) --- source4/scripting/ejs/smbcalls_rpc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/scripting/ejs/smbcalls_rpc.c') 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: -- cgit