aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2009-12-19 13:42:35 -0800
committerWayne Davison <wayned@samba.org>2009-12-19 13:42:35 -0800
commit626b5ae839d240987059644321d38c963bd5a794 (patch)
treefe3f87cd7dd0702901e2776720d71f53adb27c7c /io.c
parent92d021488ec06524f7ed6a527c39f2753f4a9fd2 (diff)
downloadandroid_external_rsync-626b5ae839d240987059644321d38c963bd5a794.tar.gz
android_external_rsync-626b5ae839d240987059644321d38c963bd5a794.tar.bz2
android_external_rsync-626b5ae839d240987059644321d38c963bd5a794.zip
Don't set last_io_out in check_timeout.
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 0 insertions, 2 deletions
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) {