summaryrefslogtreecommitdiff
path: root/match.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-12-28 07:54:07 +0000
committerWayne Davison <wayned@samba.org>2006-12-28 07:54:07 +0000
commitedb977215ba3ac0d64dc7208f67791afe11bb55d (patch)
treeda2363d3c4cdee3f2d149943f9920385a84a6e78 /match.c
parent18233a170eb92412033ca9e1f7be341ffb4e31b3 (diff)
downloadrsync-edb977215ba3ac0d64dc7208f67791afe11bb55d.tar.gz
rsync-edb977215ba3ac0d64dc7208f67791afe11bb55d.tar.bz2
rsync-edb977215ba3ac0d64dc7208f67791afe11bb55d.zip
Only append_mode > 0 now indicates option is enabled.
Diffstat (limited to 'match.c')
-rw-r--r--match.c2
1 files changed, 1 insertions, 1 deletions
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)