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
Changed flist_for_ndx() to optionally die with an error
[rsync/rsync.git]
/
io.c
diff --git
a/io.c
b/io.c
index
2756b14
..
9f819ee
100644
(file)
--- a/
io.c
+++ b/
io.c
@@
-183,9
+183,7
@@
static int flist_ndx_pop(struct flist_ndx_list *lp)
static void got_flist_entry_status(enum festatus status, const char *buf)
{
int ndx = IVAL(buf, 0);
static void got_flist_entry_status(enum festatus status, const char *buf)
{
int ndx = IVAL(buf, 0);
- struct file_list *flist = flist_for_ndx(ndx);
-
- assert(flist != NULL);
+ struct file_list *flist = flist_for_ndx(ndx, "got_flist_entry_status");
if (remove_source_files) {
active_filecnt--;
if (remove_source_files) {
active_filecnt--;