X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/5f808dfbd71b0e40d0fd2976dceb2feaf024b6ca..6c65e14634d9d2a7b103fe53aa7585b196c38227:/match.c diff --git a/match.c b/match.c index 86a04bed..c0ae38c8 100644 --- a/match.c +++ b/match.c @@ -119,10 +119,11 @@ static void matched(int f,struct sum_struct *s,struct map_struct *buf, else last_match = offset; - if (buf) + if (buf) { show_progress(last_match, buf->file_size); - if (i == -1) end_progress(); + if (i == -1) end_progress(buf->file_size); + } }