Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb859e5
)
Hm, strange off-by-one bug.
author
Martin Pool
<mbp@samba.org>
Mon, 25 Mar 2002 06:59:17 +0000
(06:59 +0000)
committer
Martin Pool
<mbp@samba.org>
Mon, 25 Mar 2002 06:59:17 +0000
(06:59 +0000)
hlink.c
patch
|
blob
|
blame
|
history
diff --git
a/hlink.c
b/hlink.c
index
ea38999
..
95aa30a
100644
(file)
--- a/
hlink.c
+++ b/
hlink.c
@@
-106,7
+106,7
@@
int check_hard_link(struct file_struct *file)
file->inode == hlink_list[low - 1].inode) {
if (verbose >= 2) {
rprintf(FINFO, "check_hard_link: \"%s\" is a hard link to file %d, \"%s\"\n",
- f_name(file), low
, f_name(&hlink_list[low
]));
+ f_name(file), low
-1, f_name(&hlink_list[low-1
]));
}
return 1;
}