From edb977215ba3ac0d64dc7208f67791afe11bb55d Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 28 Dec 2006 07:54:07 +0000 Subject: [PATCH] Only append_mode > 0 now indicates option is enabled. --- match.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/match.c b/match.c index cbc856c2..7e8fa020 100644 --- a/match.c +++ b/match.c @@ -314,7 +314,7 @@ void match_sums(int f, struct sum_struct *s, struct map_struct *buf, OFF_T len) sum_init(checksum_seed); - if (append_mode) { + if (append_mode > 0) { OFF_T j = 0; for (j = CHUNK_SIZE; j < s->flength; j += CHUNK_SIZE) { if (buf && do_progress) -- 2.34.1