summaryrefslogtreecommitdiff
path: root/match.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-06-28 13:55:41 +0000
committerAndrew Tridgell <tridge@samba.org>1996-06-28 13:55:41 +0000
commit34ccb63e71367fb1f93530f60147ef6e4ac4e3e4 (patch)
tree452f40cff8987056310f716ec4c72bb51f176a40 /match.c
parent7bec6a5cd6cabe93163707b901482a6692ca78cf (diff)
downloadrsync-34ccb63e71367fb1f93530f60147ef6e4ac4e3e4.tar.gz
new exit/cleanup code
Diffstat (limited to 'match.c')
-rw-r--r--match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/match.c b/match.c
index a2121a17..3cd489d0 100644
--- a/match.c
+++ b/match.c
@@ -103,7 +103,7 @@ static void matched(int f,struct sum_struct *s,char *buf,off_t len,
int l = 0;
write_int(f,n);
while (l < n) {
- int n1 = MIN(WRITE_BLOCK_SIZE,n-l);
+ int n1 = MIN(CHUNK_SIZE,n-l);
write_buf(f,map_ptr(buf,last_match+l,n1),n1);
l += n1;
}