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
Mention a couple more changes.
[rsync/rsync.git]
/
io.c
diff --git
a/io.c
b/io.c
index
31ea14c
..
b69816a
100644
(file)
--- a/
io.c
+++ b/
io.c
@@
-804,9
+804,10
@@
void io_end_buffering_out(void)
iobuf_f_out = -1;
}
iobuf_f_out = -1;
}
-void maybe_flush_socket(
void
)
+void maybe_flush_socket(
int important
)
{
{
- if (iobuf_out && iobuf_out_cnt && time(NULL) - last_io_out >= 5)
+ if (iobuf_out && iobuf_out_cnt
+ && (important || time(NULL) - last_io_out >= 5))
io_flush(NORMAL_FLUSH);
}
io_flush(NORMAL_FLUSH);
}