summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/raw/rawtrans.c2
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);
}