summaryrefslogtreecommitdiffstats
path: root/source/smbd/reply.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-05-15 17:13:50 +0000
committerJeremy Allison <jra@samba.org>2000-05-15 17:13:50 +0000
commiteba825ff030a175bd271caa6f543379dfdbbd646 (patch)
treeba85281b82142974e472625460a6a3cb6433c2d9 /source/smbd/reply.c
parent15646ebd84ee4e63a251c87800677f3dd2ae6971 (diff)
downloadsamba-eba825ff030a175bd271caa6f543379dfdbbd646.tar.gz
samba-eba825ff030a175bd271caa6f543379dfdbbd646.tar.xz
samba-eba825ff030a175bd271caa6f543379dfdbbd646.zip
passdb/secrets.c: Fix typo in comment.
rpc_server/srv_pipe.c: Use accessor functions rather than diddling with structure internals directly. smbd/process.c: smbd/reply.c: Remove READ_PREDICTION #ifdefs. Jeremy.
Diffstat (limited to 'source/smbd/reply.c')
-rw-r--r--source/smbd/reply.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index b08606452f3..eddd06e3433 100644
--- a/source/smbd/reply.c
+++ b/source/smbd/reply.c
@@ -2067,11 +2067,6 @@ int reply_readbraw(connection_struct *conn, char *inbuf, char *outbuf, int dum_s
int predict=0;
_smb_setlen(header,nread);
-#if USE_READ_PREDICTION
- if (!fsp->can_write)
- predict = read_predict(fsp, fsp->fd,startpos,header+4,NULL,nread);
-#endif /* USE_READ_PREDICTION */
-
if ((nread-predict) > 0) {
if(conn->vfs_ops.seek(fsp,startpos + predict) == -1) {
DEBUG(0,("reply_readbraw: ERROR: seek_file failed.\n"));