Moved the end_progress() call from match.c to sender.c so that we
[rsync/rsync.git] / match.c
diff --git a/match.c b/match.c
index 89e5c52..00a38aa 100644 (file)
--- a/match.c
+++ b/match.c
@@ -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);
-       }
 }