summaryrefslogtreecommitdiff
path: root/checksum.c
diff options
context:
space:
mode:
authorJ.W. Schultz <jw@samba.org>2003-03-31 17:28:34 +0000
committerJ.W. Schultz <jw@samba.org>2003-03-31 17:28:34 +0000
commitbc63ae3f13e01874e375bb5cc606775889ed5afa (patch)
tree73ba6c968ff9c2563b8a06cbd5801136a2b6870e /checksum.c
parent6e12886393ffd34f78e7bdffe6896b4b0da6ceaf (diff)
downloadrsync-bc63ae3f13e01874e375bb5cc606775889ed5afa.tar.gz
Removing vestigial support for protocol versions prior to 15.
Diffstat (limited to 'checksum.c')
-rw-r--r--checksum.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/checksum.c b/checksum.c
index 3decf78b..8e584fab 100644
--- 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;