1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

s3:rpc_client: remove unused rpc_pipe_client->max_recv_frag

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
This commit is contained in:
Stefan Metzmacher 2015-09-26 02:43:30 +02:00
parent f360f47363
commit d491c6c496
3 changed files with 0 additions and 7 deletions

View File

@ -1941,7 +1941,6 @@ static void rpc_pipe_bind_step_one_done(struct tevent_req *subreq)
}
state->cli->max_xmit_frag = pkt->u.bind_ack.max_xmit_frag;
state->cli->max_recv_frag = pkt->u.bind_ack.max_recv_frag;
switch(pauth->auth_type) {
@ -2655,7 +2654,6 @@ static NTSTATUS rpc_pipe_open_tcp_port(TALLOC_CTX *mem_ctx, const char *host,
}
result->max_xmit_frag = RPC_MAX_PDU_FRAG_LEN;
result->max_recv_frag = RPC_MAX_PDU_FRAG_LEN;
if (ss_addr == NULL) {
if (!resolve_name(host, &addr, NBT_NAME_SERVER, false)) {
@ -2903,7 +2901,6 @@ NTSTATUS rpc_pipe_open_ncalrpc(TALLOC_CTX *mem_ctx, const char *socket_path,
}
result->max_xmit_frag = RPC_MAX_PDU_FRAG_LEN;
result->max_recv_frag = RPC_MAX_PDU_FRAG_LEN;
fd = socket(AF_UNIX, SOCK_STREAM, 0);
if (fd == -1) {
@ -2995,7 +2992,6 @@ static NTSTATUS rpc_pipe_open_np(struct cli_state *cli,
result, "\\\\%s", result->desthost);
result->max_xmit_frag = RPC_MAX_PDU_FRAG_LEN;
result->max_recv_frag = RPC_MAX_PDU_FRAG_LEN;
if ((result->desthost == NULL) || (result->srv_name_slash == NULL)) {
TALLOC_FREE(result);

View File

@ -45,7 +45,6 @@ struct rpc_pipe_client {
char *srv_name_slash;
uint16_t max_xmit_frag;
uint16_t max_recv_frag;
struct pipe_auth_data *auth;
};

View File

@ -629,7 +629,6 @@ NTSTATUS rpc_pipe_open_internal(TALLOC_CTX *mem_ctx,
}
result->max_xmit_frag = -1;
result->max_recv_frag = -1;
status = rpcint_binding_handle_ex(result,
abstract_syntax,
@ -954,7 +953,6 @@ static NTSTATUS rpc_pipe_open_external(TALLOC_CTX *mem_ctx,
}
result->max_xmit_frag = RPC_MAX_PDU_FRAG_LEN;
result->max_recv_frag = RPC_MAX_PDU_FRAG_LEN;
status = rpc_transport_tstream_init(result,
&proxy_state->npipe,