Added the --append option.
[rsync/rsync.git] / match.c
diff --git a/match.c b/match.c
index f8c4de6..00a38aa 100644 (file)
--- 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);
-       }
 }