Commit 8484ddd3 authored by Wayne Davison's avatar Wayne Davison

A couple comment tweaks.

parent 51b2ff03
...@@ -235,7 +235,7 @@ static void hash_search(int f,struct sum_struct *s, ...@@ -235,7 +235,7 @@ static void hash_search(int f,struct sum_struct *s,
* one with an identical offset, so we prefer that over * one with an identical offset, so we prefer that over
* the adjacent want_i optimization. */ * the adjacent want_i optimization. */
if (updating_basis_file) { 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) while (aligned_offset < offset)
aligned_offset += s->blength; aligned_offset += s->blength;
if (offset == aligned_offset) { if (offset == aligned_offset) {
...@@ -249,8 +249,7 @@ static void hash_search(int f,struct sum_struct *s, ...@@ -249,8 +249,7 @@ static void hash_search(int f,struct sum_struct *s,
break; break;
i = i2; i = i2;
} }
/* This chunk was at the same offset on /* This chunk remained in the same spot in the old and new file. */
* both the sender and the receiver. */
s->sums[i].flags |= SUMFLG_SAME_OFFSET; s->sums[i].flags |= SUMFLG_SAME_OFFSET;
want_i = i; want_i = i;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment