summaryrefslogtreecommitdiff
path: root/source4/libcli/raw
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-05-27 18:20:23 +1000
committerAndrew Tridgell <tridge@samba.org>2008-05-27 18:20:23 +1000
commit8daeee5c5d7d5851677089cceaf26a0e32675a96 (patch)
tree6c7892ea7b20fd5c68ae826a49ea670d23cdd464 /source4/libcli/raw
parent4f0d968d1dd185a4f5b38c2669f520536b1f8445 (diff)
downloadsamba-8daeee5c5d7d5851677089cceaf26a0e32675a96.tar.gz
samba-8daeee5c5d7d5851677089cceaf26a0e32675a96.tar.bz2
samba-8daeee5c5d7d5851677089cceaf26a0e32675a96.zip
ensure that we honor SMB2 read min_count properly
(This used to be commit 318038d6f670efffa96d8b0db63f46b3752e1cd3)
Diffstat (limited to 'source4/libcli/raw')
-rw-r--r--source4/libcli/raw/interfaces.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/raw/interfaces.h b/source4/libcli/raw/interfaces.h
index 68ebc19bdb..17c85138ac 100644
--- a/source4/libcli/raw/interfaces.h
+++ b/source4/libcli/raw/interfaces.h
@@ -1647,7 +1647,7 @@ union smb_read {
struct {
union smb_handle file;
uint64_t offset;
- uint16_t mincnt;
+ uint32_t mincnt; /* enforced on SMB2, 16 bit on SMB */
uint32_t maxcnt;
uint16_t remaining;
bool read_for_execute;