X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/264042760bd909eeca281dc8c937357e98bf6bf8..76e0a49efe6a5ce4ecdb4d74eb1f2301aa31345c:/match.c 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)