svn commit: samba r4315 - in branches/SAMBA_4_0/source/libcli/raw: .
tridge at samba.org
tridge at samba.org
Tue Dec 21 11:45:38 GMT 2004
Author: tridge
Date: 2004-12-21 11:45:37 +0000 (Tue, 21 Dec 2004)
New Revision: 4315
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4315
Log:
use the remote hosts max_xmit, not the local hosts, in calculating max trans2 data sizes
Modified:
branches/SAMBA_4_0/source/libcli/raw/rawtrans.c
Changeset:
Modified: branches/SAMBA_4_0/source/libcli/raw/rawtrans.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/raw/rawtrans.c 2004-12-21 11:44:32 UTC (rev 4314)
+++ branches/SAMBA_4_0/source/libcli/raw/rawtrans.c 2004-12-21 11:45:37 UTC (rev 4315)
@@ -626,5 +626,5 @@
*/
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);
}
More information about the samba-cvs
mailing list