patch from David Murn to make sure the final 100% is always printed
[rsync/rsync.git] / match.c
diff --git a/match.c b/match.c
index 86a04be..1c0e894 100644 (file)
--- a/match.c
+++ b/match.c
@@ -122,7 +122,7 @@ static void matched(int f,struct sum_struct *s,struct map_struct *buf,
        if (buf)
                show_progress(last_match, buf->file_size);
 
-       if (i == -1) end_progress();
+       if (i == -1) end_progress(buf->file_size);
 }