X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/7cacd47eddc8fc7d932a67ab7775c428e8387bbe..0394e34a69e7051012125dc4e49d8d928ce15290:/match.c diff --git a/match.c b/match.c index f8c4de69..00a38aa4 100644 --- a/match.c +++ b/match.c @@ -102,7 +102,7 @@ static OFF_T last_match; * have only literal data. **/ static void matched(int f, struct sum_struct *s, struct map_struct *buf, - OFF_T offset, int i) + OFF_T offset, int32 i) { int32 n = offset - last_match; /* max value: block_size (int32) */ int32 j; @@ -133,12 +133,8 @@ static void matched(int f, struct sum_struct *s, struct map_struct *buf, else last_match = offset; - if (buf && do_progress) { + if (buf && do_progress) show_progress(last_match, buf->file_size); - - if (i == -1) - end_progress(buf->file_size); - } }