diff options
author | Andrew Tridgell <tridge@samba.org> | 1997-10-27 13:38:07 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1997-10-27 13:38:07 +0000 |
commit | 464dc5433641566abeeabd07f46ab569c986a3b0 (patch) | |
tree | add1de1cdf35972ff9a89f6c107aa03ff8670326 /source3/smbd/reply.c | |
parent | 8047228db4d3545da13d87d7b370a38ed0b4c4bb (diff) | |
download | samba-464dc5433641566abeeabd07f46ab569c986a3b0.tar.gz samba-464dc5433641566abeeabd07f46ab569c986a3b0.tar.bz2 samba-464dc5433641566abeeabd07f46ab569c986a3b0.zip |
also disable read prediction in 1.9.18
(This used to be commit 0f15558efb26b7215540a588dfe8733e9346d407)
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r-- | source3/smbd/reply.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index f437ea564d..9e261a1bd5 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -1722,8 +1722,10 @@ int reply_readbraw(char *inbuf, char *outbuf) int predict=0; _smb_setlen(header,nread); +#if USE_READ_PREDICTION if (!Files[fnum].can_write) predict = read_predict(fd,startpos,header+4,NULL,nread); +#endif if ((nread-predict) > 0) seek_file(fnum,startpos + predict); |