summaryrefslogtreecommitdiff
path: root/source3/smbd
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
commitb27886addbdb1ff7c8e678023c7c1ef6d3bba9a9 (patch)
tree11a5a8269819e66f95dd34c0d6974898b047a46d /source3/smbd
parent32a7cf9188672b0c4766056eb762972f8488aa8e (diff)
downloadsamba-b27886addbdb1ff7c8e678023c7c1ef6d3bba9a9.tar.gz
samba-b27886addbdb1ff7c8e678023c7c1ef6d3bba9a9.tar.bz2
samba-b27886addbdb1ff7c8e678023c7c1ef6d3bba9a9.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. (This used to be commit eba825ff030a175bd271caa6f543379dfdbbd646)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/process.c5
-rw-r--r--source3/smbd/reply.c5
2 files changed, 0 insertions, 10 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 3d2a507cca..9e5b7b1477 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -1002,11 +1002,6 @@ void smbd_process(void)
if (deadtime <= 0)
deadtime = DEFAULT_SMBD_TIMEOUT;
-#if USE_READ_PREDICTION
- if (lp_readprediction())
- do_read_prediction();
-#endif
-
errno = 0;
/* free up temporary memory */
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index b08606452f..eddd06e343 100644
--- a/source3/smbd/reply.c
+++ b/source3/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"));