summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2015-09-26 02:43:30 +0200
committerStefan Metzmacher <metze@samba.org>2016-06-24 14:09:01 +0200
commitd491c6c496c34b7d45c7c99a4f350fa9715be93f (patch)
treee80507169f7ae58e0069caa63bc3b0c85ebd8f86 /source3/rpc_client
parentf360f47363c7ffa8a25b6b52145f48b6eb593c6c (diff)
downloadsamba-d491c6c496c34b7d45c7c99a4f350fa9715be93f.tar.gz
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>
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_pipe.c4
-rw-r--r--source3/rpc_client/rpc_client.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 97f49446312..47e2854d862 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -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);
diff --git a/source3/rpc_client/rpc_client.h b/source3/rpc_client/rpc_client.h
index b033da6c3d7..f1be075fea9 100644
--- a/source3/rpc_client/rpc_client.h
+++ b/source3/rpc_client/rpc_client.h
@@ -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;
};