summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-09-07 20:51:38 +0200
committerStefan Metzmacher <metze@samba.org>2010-09-17 15:42:35 +0200
commit6ecf8d16bc9f8da8acb6d24e5d224d6161a5497c (patch)
tree5f8a9aafd54b1abef42fe8432dccf83590c91361
parentde6254d3d6ffdd2a562ec9224a8390810c28c0dd (diff)
downloadsamba-6ecf8d16bc9f8da8acb6d24e5d224d6161a5497c.tar.gz
samba-6ecf8d16bc9f8da8acb6d24e5d224d6161a5497c.tar.bz2
samba-6ecf8d16bc9f8da8acb6d24e5d224d6161a5497c.zip
s3:rpc_client: rpc_pipe_bind_step_one_done() doesn't need reply_pdu
metze
-rw-r--r--source3/rpc_client/cli_pipe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index f3a099c826..363d83e682 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -1725,13 +1725,12 @@ static void rpc_pipe_bind_step_one_done(struct tevent_req *subreq)
struct rpc_pipe_bind_state *state = tevent_req_data(
req, struct rpc_pipe_bind_state);
struct pipe_auth_data *pauth = state->cli->auth;
- DATA_BLOB reply_pdu;
struct ncacn_packet *pkt;
struct dcerpc_auth auth;
DATA_BLOB auth_token = data_blob_null;
NTSTATUS status;
- status = rpc_api_pipe_recv(subreq, talloc_tos(), &pkt, &reply_pdu);
+ status = rpc_api_pipe_recv(subreq, talloc_tos(), &pkt, NULL);
TALLOC_FREE(subreq);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(3, ("rpc_pipe_bind: %s bind request returned %s\n",