diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-12-21 11:45:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:07:33 -0500 |
commit | fa4271fb39d593fd4516e8ee32234299ffd31967 (patch) | |
tree | 5ce55690aa7d43f737a9b6b8fcdab8c3437873fa | |
parent | a66a985cde1606d0ed6f66f2dc80357b0f7d3363 (diff) | |
download | samba-fa4271fb39d593fd4516e8ee32234299ffd31967.tar.gz samba-fa4271fb39d593fd4516e8ee32234299ffd31967.tar.bz2 samba-fa4271fb39d593fd4516e8ee32234299ffd31967.zip |
r4315: use the remote hosts max_xmit, not the local hosts, in calculating max trans2 data sizes
(This used to be commit 827008cfebf29d081b457ba7162d89c8150cb24b)
-rw-r--r-- | source4/libcli/raw/rawtrans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/raw/rawtrans.c b/source4/libcli/raw/rawtrans.c index ba80d59819..95555c3a82 100644 --- a/source4/libcli/raw/rawtrans.c +++ b/source4/libcli/raw/rawtrans.c @@ -626,5 +626,5 @@ NTSTATUS smb_raw_nttrans(struct smbcli_tree *tree, */ size_t smb_raw_max_trans_data(struct smbcli_tree *tree, size_t param_size) { - return tree->session->transport->options.max_xmit - (70 + param_size); + return tree->session->transport->negotiate.max_xmit - (70 + param_size); } |