s3:rpc_client: rpc_pipe_bind_step_one_done() doesn't need reply_pdu
authorStefan Metzmacher <metze@samba.org>
Tue, 7 Sep 2010 18:51:38 +0000 (20:51 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 17 Sep 2010 13:42:35 +0000 (15:42 +0200)
metze

source3/rpc_client/cli_pipe.c

index f3a099c82652d301a4dd4aba1f8ddebbf943e0bd..363d83e6827a1b9bf103cf71c45d462aa9f62f67 100644 (file)
@@ -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",