X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/4c36ddbeecdde407c870109d70527640ca127ace..ea2111d10a10a164334eff3b621ed7e630404345:/io.c diff --git a/io.c b/io.c index 4c704ebe..03da79ce 100644 --- a/io.c +++ b/io.c @@ -86,6 +86,8 @@ static int read_timeout(int fd, char *buf, int len) { int n, ret=0; + io_flush(); + while (ret == 0) { fd_set fds; struct timeval tv;