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
We now figure out if diff accepts -u and we'll use it instead of -c,
[rsync/rsync.git]
/
checksum.c
diff --git
a/checksum.c
b/checksum.c
index
f9f46d7
..
7484ca5
100644
(file)
--- a/
checksum.c
+++ b/
checksum.c
@@
-184,7
+184,7
@@
void sum_update(char *p, int len)
void sum_end(char *sum)
{
void sum_end(char *sum)
{
- if (sumresidue) {
+ if (sumresidue
|| remote_version >= 27
) {
mdfour_update(&md, (uchar *)sumrbuf, sumresidue);
}
mdfour_update(&md, (uchar *)sumrbuf, sumresidue);
}