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:
8e3b627
)
Needed to use ndx_end in decrement_flist_in_progress().
author
Wayne Davison
<wayned@samba.org>
Thu, 12 Jul 2007 14:04:11 +0000
(14:04 +0000)
committer
Wayne Davison
<wayned@samba.org>
Thu, 12 Jul 2007 14:04:11 +0000
(14:04 +0000)
io.c
patch
|
blob
|
blame
|
history
diff --git
a/io.c
b/io.c
index
0ab9f57
..
d5f42cd
100644
(file)
--- a/
io.c
+++ b/
io.c
@@
-445,13
+445,13
@@
static void decrement_flist_in_progress(int ndx, int redo)
rprintf(FERROR,
"Invalid file index: %d (%d - %d) [%s]\n",
ndx, first_flist->ndx_start,
- first_flist->prev->ndx_
start + first_flist->prev->used - 1
,
+ first_flist->prev->ndx_
end
,
who_am_i());
exit_cleanup(RERR_PROTOCOL);
}
flist = flist->prev;
}
- while (ndx >
= flist->ndx_start + flist->use
d) {
+ while (ndx >
flist->ndx_en
d) {
if (!(flist = flist->next))
goto invalid_ndx;
}