s3:torture/*: use CLI_BUFFER_SIZE instead of cli->max_xmit
[metze/samba/wip.git] / source3 / torture / nbench.c
index d2fddf0094532078a28e4081f86e2ea419653d98..612dc7db9c51cb01b1594ddae184706e3afcafb7 100644 (file)
@@ -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: