diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-07-07 18:04:44 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-07-07 20:59:18 +0200 |
commit | 4af2de3f038de1a553b620cb46436a05664e5e03 (patch) | |
tree | dfd17bcf132907124063f7c7abefacebeee148d7 | |
parent | a3ea8bcb195bb1e7b4cb22488a0993d55a95387d (diff) | |
download | samba-4af2de3f038de1a553b620cb46436a05664e5e03.tar.gz samba-4af2de3f038de1a553b620cb46436a05664e5e03.tar.bz2 samba-4af2de3f038de1a553b620cb46436a05664e5e03.zip |
rap: trans->in.max_data should not depend on the smb max size
We now support async multi fragment SMBtrans calls.
metze
(This used to be commit 66e0c1754f14cf0100ca2d3e9c0cd8c87f9dc1e6)
-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; |