aboutsummaryrefslogtreecommitdiffstats
path: root/match.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2010-11-20 09:30:35 -0800
committerWayne Davison <wayned@samba.org>2010-11-20 09:30:35 -0800
commit8484ddd3d1e667eb209328c17c389972adc4f14a (patch)
tree87553092047548557efbd862930394ea32a479a9 /match.c
parent51b2ff03b3f45b360b75109148cd0606621089bc (diff)
downloadandroid_external_rsync-8484ddd3d1e667eb209328c17c389972adc4f14a.tar.gz
android_external_rsync-8484ddd3d1e667eb209328c17c389972adc4f14a.tar.bz2
android_external_rsync-8484ddd3d1e667eb209328c17c389972adc4f14a.zip
A couple comment tweaks.
Diffstat (limited to 'match.c')
-rw-r--r--match.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/match.c b/match.c
index 229c9dd6..2c7b6164 100644
--- a/match.c
+++ b/match.c
@@ -235,7 +235,7 @@ static void hash_search(int f,struct sum_struct *s,
* one with an identical offset, so we prefer that over
* the adjacent want_i optimization. */
if (updating_basis_file) {
- /* All the sender's chunks start at blength boundaries. */
+ /* All the generator's chunks start at blength boundaries. */
while (aligned_offset < offset)
aligned_offset += s->blength;
if (offset == aligned_offset) {
@@ -249,8 +249,7 @@ static void hash_search(int f,struct sum_struct *s,
break;
i = i2;
}
- /* This chunk was at the same offset on
- * both the sender and the receiver. */
+ /* This chunk remained in the same spot in the old and new file. */
s->sums[i].flags |= SUMFLG_SAME_OFFSET;
want_i = i;
}