Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Removing obsoleted test.sh file (we used the runtests.sh framework for
[rsync/rsync.git]
/
match.c
diff --git
a/match.c
b/match.c
index
7bf2cf4
..
6909fca
100644
(file)
--- a/
match.c
+++ b/
match.c
@@
-322,6
+322,9
@@
void match_sums(int f, struct sum_struct *s, struct map_struct *buf, OFF_T len)
}
sum_end(file_sum);
+ /* If we had a read error, send a bad checksum. */
+ if (buf && buf->status != 0)
+ file_sum[0]++;
if (verbose > 2)
rprintf(FINFO,"sending file_sum\n");