Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- always flush the IO write buffer when reading
[rsync/rsync.git]
/
io.c
diff --git
a/io.c
b/io.c
index
4c704eb
..
03da79c
100644
(file)
--- 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;