svn commit: samba r9340 - in
branches/SAMBA_4_0/source/scripting/ejs: .
tridge at samba.org
tridge at samba.org
Wed Aug 17 01:30:48 GMT 2005
Author: tridge
Date: 2005-08-17 01:30:47 +0000 (Wed, 17 Aug 2005)
New Revision: 9340
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9340
Log:
print the [in] contents when debugging even if the marshalling
failed. This makes it easier to track down marshalling bugs.
Modified:
branches/SAMBA_4_0/source/scripting/ejs/smbcalls_rpc.c
Changeset:
Modified: branches/SAMBA_4_0/source/scripting/ejs/smbcalls_rpc.c
===================================================================
--- branches/SAMBA_4_0/source/scripting/ejs/smbcalls_rpc.c 2005-08-17 01:29:35 UTC (rev 9339)
+++ branches/SAMBA_4_0/source/scripting/ejs/smbcalls_rpc.c 2005-08-17 01:30:47 UTC (rev 9340)
@@ -329,17 +329,19 @@
goto done;
}
+ /* make the actual call */
+ req = dcerpc_ndr_request_send(p, NULL, iface, callnum, ptr, ptr);
+
/* if requested, print the structure */
if (p->conn->flags & DCERPC_DEBUG_PRINT_IN) {
ndr_print_function_debug(call->ndr_print, call->name, NDR_IN, ptr);
}
- /* make the actual call */
- req = dcerpc_ndr_request_send(p, NULL, iface, callnum, ptr, ptr);
if (req == NULL) {
status = NT_STATUS_NO_MEMORY;
goto done;
}
+
status = dcerpc_ndr_request_recv(req);
if (!NT_STATUS_IS_OK(status)) {
goto done;
More information about the samba-cvs
mailing list