aboutsummaryrefslogtreecommitdiffstats
path: root/match.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2005-03-05 17:51:23 +0000
committerWayne Davison <wayned@samba.org>2005-03-05 17:51:23 +0000
commit0394e34a69e7051012125dc4e49d8d928ce15290 (patch)
treee4f2101156337a6bce2b02ae550452cac6eb5940 /match.c
parent56efa5647422b364aa644f557f9d9ebc2b198e97 (diff)
downloadandroid_external_rsync-0394e34a69e7051012125dc4e49d8d928ce15290.tar.gz
android_external_rsync-0394e34a69e7051012125dc4e49d8d928ce15290.tar.bz2
android_external_rsync-0394e34a69e7051012125dc4e49d8d928ce15290.zip
Moved the end_progress() call from match.c to sender.c so that we
report progress on 0-length files when pushing files (the receiver already called it, so we already produced progress on a 0-length file when pulling).
Diffstat (limited to 'match.c')
-rw-r--r--match.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/match.c b/match.c
index 89e5c529..00a38aa4 100644
--- 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);
- }
}