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
cosmetic changes only
[rsync/rsync.git]
/
hlink.c
diff --git
a/hlink.c
b/hlink.c
index
b6e6f28
..
43f14ea
100644
(file)
--- a/
hlink.c
+++ b/
hlink.c
@@
-80,7
+80,10
@@
int check_hard_link(struct file_struct *file)
while (low != high) {
int mid = (low+high)/2;
ret = hlink_compare(&hlink_list[mid],file);
- if (ret == 0) break;
+ if (ret == 0) {
+ low = mid;
+ break;
+ }
if (ret > 0)
high=mid;
else