summaryrefslogtreecommitdiff
path: root/match.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-01-25 06:39:33 +0000
committerAndrew Tridgell <tridge@samba.org>2000-01-25 06:39:33 +0000
commit166aa723324aac5102506159489e29ed31411d4b (patch)
tree4bf09c71b551f26dfe762c315ea4e74c9e9f91c3 /match.c
parentf9f6184f38903386033626ee5e715fcf990361e6 (diff)
downloadrsync-166aa723324aac5102506159489e29ed31411d4b.tar.gz
patch from David Murn to make sure the final 100% is always printed
when using --progress
Diffstat (limited to 'match.c')
-rw-r--r--match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/match.c b/match.c
index 86a04bed..1c0e894f 100644
--- 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);
}