summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-05 12:48:52 +0200
committerVolker Lendecke <vl@samba.org>2010-08-05 13:57:29 +0200
commit0a224bc77b9bb59c72b9d79d9e8637837ffd878c (patch)
tree85a8f45f87cdce2cabd6ebebdbc4d23762490492 /source3/rpc_client
parenta13b96f04a59ec9be9e72ffab4dc6b3f9e1b4dc3 (diff)
downloadsamba-0a224bc77b9bb59c72b9d79d9e8637837ffd878c.tar.gz
samba-0a224bc77b9bb59c72b9d79d9e8637837ffd878c.tar.bz2
samba-0a224bc77b9bb59c72b9d79d9e8637837ffd878c.zip
s3: Save the received trans2 from the inbuf in cli_trans
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/rpc_transport_np.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_client/rpc_transport_np.c b/source3/rpc_client/rpc_transport_np.c
index e00c1f30ba..9d803aa9d4 100644
--- a/source3/rpc_client/rpc_transport_np.c
+++ b/source3/rpc_client/rpc_transport_np.c
@@ -329,7 +329,8 @@ static void rpc_np_trans_done(struct tevent_req *subreq)
req, struct rpc_np_trans_state);
NTSTATUS status;
- status = cli_trans_recv(subreq, state, NULL, 0, NULL, NULL, 0, NULL,
+ status = cli_trans_recv(subreq, state, NULL, NULL, 0, NULL,
+ NULL, 0, NULL,
&state->rdata, 0, &state->rdata_len);
TALLOC_FREE(subreq);
if (NT_STATUS_EQUAL(status, NT_STATUS_BUFFER_TOO_SMALL)) {