Don't set last_io_out in check_timeout.
authorWayne Davison <wayned@samba.org>
Sat, 19 Dec 2009 21:42:35 +0000 (13:42 -0800)
committerWayne Davison <wayned@samba.org>
Sat, 19 Dec 2009 21:42:35 +0000 (13:42 -0800)
io.c

diff --git a/io.c b/io.c
index 6c2b220..ae60775 100644 (file)
--- a/io.c
+++ b/io.c
@@ -173,8 +173,6 @@ static void check_timeout(BOOL allow_keepalive)
 
        if (!last_io_in)
                last_io_in = t;
-       if (!last_io_out)
-               last_io_out = t;
 
        chk = MAX(last_io_out, last_io_in);
        if (t - chk >= io_timeout) {