From: Wayne Davison Date: Thu, 28 Dec 2006 07:54:07 +0000 (+0000) Subject: Only append_mode > 0 now indicates option is enabled. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/edb977215ba3ac0d64dc7208f67791afe11bb55d Only append_mode > 0 now indicates option is enabled. --- 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)