git.samba.org
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Removing vestigial support for protocol versions prior to 15.
[rsync.git]
/
checksum.c
diff --git
a/checksum.c
b/checksum.c
index 3decf78bbacb4f187f25f1be3d7645c4b54784d5..8e584fab6ff65ca1406867d196ca86f751a6dfee 100644
(file)
--- a/
checksum.c
+++ b/
checksum.c
@@
-117,16
+117,6
@@
void file_checksum(char *fname,char *sum,OFF_T size)
}
-void checksum_init(void)
-{
- if (remote_version >= 14)
- csum_length = 2; /* adaptive */
- else
- csum_length = SUM_LENGTH;
-}
-
-
-
static int sumresidue;
static char sumrbuf[CSUM_CHUNK];
static struct mdfour md;