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-Tag: v3.1.0pre1~257 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=626b5ae839d240987059644321d38c963bd5a794;p=thirdparty%2Frsync.git 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) {