X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/fc0257c9fd26fd6efb1ac166b505f05794c155b0..3c30b9905932e39b170be8e0521370727f264635:/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);