aboutsummaryrefslogtreecommitdiffstats
path: root/match.c
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-04-08 08:33:13 +0000
committerMartin Pool <mbp@samba.org>2002-04-08 08:33:13 +0000
commit538ba24fd7986df9231812cdbae7cfa93151f685 (patch)
tree776c01b0d9092c2ecc288b3505b5b49fed16548d /match.c
parentd37d8d7b693df25558dbb210799263236bbb7d81 (diff)
downloadandroid_external_rsync-538ba24fd7986df9231812cdbae7cfa93151f685.tar.gz
android_external_rsync-538ba24fd7986df9231812cdbae7cfa93151f685.tar.bz2
android_external_rsync-538ba24fd7986df9231812cdbae7cfa93151f685.zip
Doc match_sums.
Diffstat (limited to 'match.c')
-rw-r--r--match.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/match.c b/match.c
index 557226a6..292c537e 100644
--- a/match.c
+++ b/match.c
@@ -275,6 +275,10 @@ static void hash_search(int f,struct sum_struct *s,
* checksums from the generator, and transmit either literal or token
* data.
*
+ * Also calculates the MD4 checksum of the whole file, using the md
+ * accumulator. This is transmitted with the file as protection
+ * against corruption on the wire.
+ *
* @param s Checksums received from the generator. If <tt>s->count ==
* 0</tt>, then there are actually no checksums for this file.
*