diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-09-12 02:45:22 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-09-14 12:57:33 -0700 |
commit | 4c9b1841ed41df0b4084447ffcbfeb470679105f (patch) | |
tree | ee77619cc270aaf65585e44f3e40126e96868ac1 /libcli/registry/util_reg.c | |
parent | f8c26c16b82989e002b839fc9eba6386fc036f6a (diff) | |
download | samba-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/registry/util_reg.c')
0 files changed, 0 insertions, 0 deletions