git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10e2530
)
fixed RAW-READ after the bufinfo changes. Thanks to Metze for spotting
author
Andrew Tridgell
<tridge@samba.org>
Sat, 16 Feb 2008 02:28:37 +0000
(13:28 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Sat, 16 Feb 2008 02:28:37 +0000
(13:28 +1100)
this.
(This used to be commit
3c9973b695a0b5c30d3a5bfabecf62dd1a25ebc1
)
source4/libcli/raw/rawreadwrite.c
patch
|
blob
|
history
diff --git
a/source4/libcli/raw/rawreadwrite.c
b/source4/libcli/raw/rawreadwrite.c
index 2005e36e040104f4727d4dd90058b15e911e2d73..9e4edaf99c9c49fabad2f9ae1abf043f97f2351b 100644
(file)
--- 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);
}
}