X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/43a481dc5586a16af249fbae611b36442bed6a8c..d5ee1f8e7a370884aa9c5353de5129728ed9a37b:/match.c diff --git a/match.c b/match.c index a2121a17..2c807279 100644 --- a/match.c +++ b/match.c @@ -85,7 +85,6 @@ static void build_hash_table(struct sum_struct *s) } - static off_t last_match; @@ -103,7 +102,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; }