diff options
-rw-r--r-- | source4/torture/rap/rap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rap/rap.c b/source4/torture/rap/rap.c index 1ccd1254dd..e93bd52b9a 100644 --- a/source4/torture/rap/rap.c +++ b/source4/torture/rap/rap.c @@ -206,7 +206,7 @@ static NTSTATUS rap_cli_do_call(struct smbcli_tree *tree, params->flags = RAPNDR_FLAGS; trans.in.max_param = call->rcv_paramlen; - trans.in.max_data = smb_raw_max_trans_data(tree, call->rcv_paramlen); + trans.in.max_data = call->rcv_datalen; trans.in.max_setup = 0; trans.in.flags = 0; trans.in.timeout = 0; |