From: Andrew Tridgell Date: Tue, 25 Jan 2000 13:16:42 +0000 (+0000) Subject: fix segv bug in --progress handling X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/5e12ce118622705111df38043132b336590604b0 fix segv bug in --progress handling --- diff --git a/match.c b/match.c index 1c0e894f..c0ae38c8 100644 --- a/match.c +++ b/match.c @@ -119,10 +119,11 @@ static void matched(int f,struct sum_struct *s,struct map_struct *buf, else last_match = offset; - if (buf) + if (buf) { show_progress(last_match, buf->file_size); - if (i == -1) end_progress(buf->file_size); + if (i == -1) end_progress(buf->file_size); + } }