diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-02-16 13:28:37 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-02-16 13:28:37 +1100 |
commit | afe8e5551e41550f40271f49ab4ded5e5f0def9c (patch) | |
tree | 65b88ef9704fb864697a112bcf86c388773b56f6 /source4 | |
parent | 10e2530eed6e9ce0c532a2b62eee4c315e62b2ea (diff) | |
download | samba-afe8e5551e41550f40271f49ab4ded5e5f0def9c.tar.gz samba-afe8e5551e41550f40271f49ab4ded5e5f0def9c.tar.bz2 samba-afe8e5551e41550f40271f49ab4ded5e5f0def9c.zip |
fixed RAW-READ after the bufinfo changes. Thanks to Metze for spotting
this.
(This used to be commit 3c9973b695a0b5c30d3a5bfabecf62dd1a25ebc1)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libcli/raw/rawreadwrite.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/libcli/raw/rawreadwrite.c b/source4/libcli/raw/rawreadwrite.c index 2005e36e04..9e4edaf99c 100644 --- a/source4/libcli/raw/rawreadwrite.c +++ b/source4/libcli/raw/rawreadwrite.c @@ -171,6 +171,9 @@ NTSTATUS smb_raw_read_recv(struct smbcli_request *req, union smb_read *parms) parms->readx.out.nread <= req->in.buffer + req->in.size) { req->in.data_size += (SVAL(req->in.vwv, VWV(7)) << 16); + + /* update the bufinfo with the new size */ + smb_setup_bufinfo(req); } } |