summaryrefslogtreecommitdiff
path: root/match.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-05-27 12:37:22 +0000
committerAndrew Tridgell <tridge@samba.org>1998-05-27 12:37:22 +0000
commit4c36ddbeecdde407c870109d70527640ca127ace (patch)
tree40c6f7c9e288d48045d2b2959943cf976a584c22 /match.c
parent2b6b4d539b0aab98b1cbb9d8c639cb12473aae94 (diff)
downloadrsync-4c36ddbeecdde407c870109d70527640ca127ace.tar.gz
heaps of cleanup in the io code.
we no longer use non-blocking IO, instead it uses select a lot more, being careful to always allow for reading whenever a valid read fd is available and chcking timeouts. also split the file io calls into fileio.c
Diffstat (limited to 'match.c')
-rw-r--r--match.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/match.c b/match.c
index 12102158..333f0cf2 100644
--- a/match.c
+++ b/match.c
@@ -103,9 +103,6 @@ static void matched(int f,struct sum_struct *s,struct map_struct *buf,
send_token(f,i,buf,last_match,n,i<0?0:s->sums[i].len);
data_transfer += n;
- if (n > 0)
- write_flush(f);
-
if (i >= 0)
n += s->sums[i].len;