summaryrefslogtreecommitdiff
path: root/libcli/smb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-12 02:45:22 +0200
committerJeremy Allison <jra@samba.org>2011-09-14 12:57:33 -0700
commit4c9b1841ed41df0b4084447ffcbfeb470679105f (patch)
treeee77619cc270aaf65585e44f3e40126e96868ac1 /libcli/smb
parentf8c26c16b82989e002b839fc9eba6386fc036f6a (diff)
downloadsamba-4c9b1841ed41df0b4084447ffcbfeb470679105f.tar.gz
samba-4c9b1841ed41df0b4084447ffcbfeb470679105f.tar.bz2
samba-4c9b1841ed41df0b4084447ffcbfeb470679105f.zip
s3:libsmb: let cli_read_max_bufsize() return the max number of possible bytes
s3:libsmb: let cli_read_max_bufsize() return the max number of possible bytes We now return what's possible on the wire. Which is 0xFFFF if CAP_LARGE_READX is given by the server or 0xFFFFFF - data_offset if CIFS_UNIX_LARGE_READ_CAP is available (without signing/sealing). Otherwise we return max_xmit - data_offset. metze Signed-off-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'libcli/smb')
0 files changed, 0 insertions, 0 deletions