summaryrefslogtreecommitdiff
path: root/source4/libcli/raw/rawreadwrite.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-18 11:31:40 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-18 11:31:40 +0100
commit9d0d614c7af6299482ba30c7c0ad36eed5af7474 (patch)
treed2c20eeb32c7b6bb18d380fa47ab39cce06405c0 /source4/libcli/raw/rawreadwrite.c
parent0419da69d5a8ab606a49598692c050447e306663 (diff)
parent0e03c3aa892439bb5567b0129a40b267ecb6cee5 (diff)
downloadsamba-9d0d614c7af6299482ba30c7c0ad36eed5af7474.tar.gz
samba-9d0d614c7af6299482ba30c7c0ad36eed5af7474.tar.bz2
samba-9d0d614c7af6299482ba30c7c0ad36eed5af7474.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
(This used to be commit 2fb93e85eb5f415fbcdfb2fc0a1a58fad823138a)
Diffstat (limited to 'source4/libcli/raw/rawreadwrite.c')
-rw-r--r--source4/libcli/raw/rawreadwrite.c3
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);
}
}