Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added some missing $(srcdir) references.
[rsync/rsync.git]
/
match.c
diff --git
a/match.c
b/match.c
index
8470de0
..
8ddbf92
100644
(file)
--- a/
match.c
+++ b/
match.c
@@
-188,7
+188,7
@@
static void hash_search(int f,struct sum_struct *s,
sum = (s1 & 0xffff) | (s2 << 16);
tag_hits++;
sum = (s1 & 0xffff) | (s2 << 16);
tag_hits++;
-
for (; j < s->count && targets[j].t == t; j++)
{
+
do
{
unsigned int l;
size_t i = targets[j].i;
unsigned int l;
size_t i = targets[j].i;
@@
-235,7
+235,7
@@
static void hash_search(int f,struct sum_struct *s,
s2 = sum >> 16;
matches++;
break;
s2 = sum >> 16;
matches++;
break;
- }
+ }
while (++j < s->count && targets[j].t == t);
null_tag:
/* Trim off the first byte from the checksum */
null_tag:
/* Trim off the first byte from the checksum */