X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/c78e4ea905bb31d965c9a2b2336bb0f9695ff0f2..e982d591465013c547ab2371d4818345dac819ff:/sender.c diff --git a/sender.c b/sender.c index c8ef7ccd..ba1d6ffa 100644 --- a/sender.c +++ b/sender.c @@ -125,13 +125,7 @@ void successful_send(int ndx) if (!remove_source_files) return; - if (!(flist = flist_for_ndx(ndx))) { - rprintf(FERROR, - "INTERNAL ERROR: unable to find flist for item %d\n", - ndx); - return; - } - + flist = flist_for_ndx(ndx, "successful_send"); file = flist->files[ndx - flist->ndx_start]; if (!change_pathname(file, NULL, 0)) return;