X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/b49d381d05888f84adbd1aeccb1ff31c3b33134f..16417f8b9d1947f4efbe540ee6983feba2ebc21c:/match.c diff --git a/match.c b/match.c index 713142d9..95d84b93 100644 --- a/match.c +++ b/match.c @@ -21,6 +21,7 @@ extern int verbose; extern int am_server; +extern int do_progress; typedef unsigned short tag; @@ -127,7 +128,7 @@ static void matched(int f,struct sum_struct *s,struct map_struct *buf, else last_match = offset; - if (buf) { + if (buf && do_progress) { show_progress(last_match, buf->file_size); if (i == -1) end_progress(buf->file_size);