From 5e12ce118622705111df38043132b336590604b0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 25 Jan 2000 13:16:42 +0000 Subject: [PATCH] fix segv bug in --progress handling --- match.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); + } } -- 2.34.1