diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-05-20 10:40:10 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:08:11 -0500 |
commit | 2de1d5f7a8c2a3a815d81c217c274d2d5f1768cb (patch) | |
tree | 90e2a07280df73f135bab9247d8b957cafe3a127 /source4/libcli | |
parent | add9d49dbbe71d1776c8fac5a26427ac7b5e8d03 (diff) | |
download | samba-2de1d5f7a8c2a3a815d81c217c274d2d5f1768cb.tar.gz samba-2de1d5f7a8c2a3a815d81c217c274d2d5f1768cb.tar.bz2 samba-2de1d5f7a8c2a3a815d81c217c274d2d5f1768cb.zip |
r15740: add TODO, that we should check if the server supports
large offsets, before sending large offset requests
metze
(This used to be commit b9ba2b8c5a314ba9e559e50bea4deb692dc0f3ec)
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/raw/rawreadwrite.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/libcli/raw/rawreadwrite.c b/source4/libcli/raw/rawreadwrite.c index 7b424df6df..63a60ad545 100644 --- a/source4/libcli/raw/rawreadwrite.c +++ b/source4/libcli/raw/rawreadwrite.c @@ -81,6 +81,10 @@ struct smbcli_request *smb_raw_read_send(struct smbcli_tree *tree, union smb_rea SSVAL(req->out.vwv, VWV(6), parms->readx.in.mincnt); SIVAL(req->out.vwv, VWV(7), parms->readx.in.maxcnt >> 16); SSVAL(req->out.vwv, VWV(9), parms->readx.in.remaining); + /* + * TODO: give an error when the offset is 64 bit + * and the server doesn't support it + */ if (bigoffset) { SIVAL(req->out.vwv, VWV(10),parms->readx.in.offset>>32); } |