From: Wayne Davison Date: Sat, 19 Dec 2009 21:42:35 +0000 (-0800) Subject: Don't set last_io_out in check_timeout. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/626b5ae839d240987059644321d38c963bd5a794 Don't set last_io_out in check_timeout. --- diff --git a/io.c b/io.c index 6c2b220f..ae607756 100644 --- 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) {