diff options
author | Martin Pool <mbp@samba.org> | 2001-08-06 08:07:58 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2001-08-06 08:07:58 +0000 |
commit | 507a797c932f795b8df37e24a6d0320cf54d64c8 (patch) | |
tree | 2cd13cba0803ecbd29115e8750526f02b6166286 /match.c | |
parent | 25ea348bd19f1b7b69d114fff72a7cb905db4b1b (diff) | |
download | rsync-507a797c932f795b8df37e24a6d0320cf54d64c8.tar.gz |
Merge Jos's rsync+ patch onto 2.4.6 -- it applies cleanly here. I'm goingcvs/branch-mbp-merge-rsync+
to move it across to HEAD (2.4.7pre) next.
Diffstat (limited to 'match.c')
-rw-r--r-- | match.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -260,6 +260,7 @@ static void hash_search(int f,struct sum_struct *s, void match_sums(int f,struct sum_struct *s,struct map_struct *buf,OFF_T len) { char file_sum[MD4_SUM_LENGTH]; + extern int write_batch; /* dw */ last_match = 0; false_alarms = 0; @@ -295,6 +296,8 @@ void match_sums(int f,struct sum_struct *s,struct map_struct *buf,OFF_T len) if (verbose > 2) rprintf(FINFO,"sending file_sum\n"); write_buf(f,file_sum,MD4_SUM_LENGTH); + if (write_batch) /* dw */ + write_batch_delta_file(file_sum, MD4_SUM_LENGTH); } if (targets) { |