summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/torture/nbench.c2
-rw-r--r--source3/torture/scanner.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/torture/nbench.c b/source3/torture/nbench.c
index d2fddf0094..612dc7db9c 100644
--- a/source3/torture/nbench.c
+++ b/source3/torture/nbench.c
@@ -298,7 +298,7 @@ static struct tevent_req *nbench_cmd_send(TALLOC_CTX *mem_ctx,
}
subreq = cli_qpathinfo_send(state, ev, nb_state->cli, fname,
ival(state->cmd->params[2]),
- 0, nb_state->cli->max_xmit);
+ 0, CLI_BUFFER_SIZE);
break;
}
default:
diff --git a/source3/torture/scanner.c b/source3/torture/scanner.c
index 5edd52d567..580dadf80e 100644
--- a/source3/torture/scanner.c
+++ b/source3/torture/scanner.c
@@ -67,7 +67,7 @@ static NTSTATUS try_trans2(struct cli_state *cli,
op, 0,
NULL, 0, 0, /* setup */
param, param_len, 2,
- data, data_len, cli->max_xmit,
+ data, data_len, CLI_BUFFER_SIZE,
NULL, /* recv_flags2 */
NULL, 0, NULL, /* rsetup */
&rparam, 0, rparam_len,
@@ -313,7 +313,7 @@ static NTSTATUS try_nttrans(struct cli_state *cli,
op, 0,
NULL, 0, 0, /* setup */
param, param_len, 2,
- data, data_len, cli->max_xmit,
+ data, data_len, CLI_BUFFER_SIZE,
NULL, /* recv_flags2 */
NULL, 0, NULL, /* rsetup */
&rparam, 0, rparam_len,