X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fsparse.c;h=a661ab18d3a47b3ed6cf5446130fc1dc957d2a76;hb=2690759c06119771895831d4c3cf8d9a52ccc5de;hp=52ed7711c52d8670037881fbc46e1774bdfe72da;hpb=5160a64f7117d8f8c9dd3bc055766eaed81851b8;p=chaz%2Ftar diff --git a/src/sparse.c b/src/sparse.c index 52ed771..a661ab1 100644 --- a/src/sparse.c +++ b/src/sparse.c @@ -489,7 +489,7 @@ sparse_diff_file (int fd, struct tar_stat_info *stat) + file.stat_info->sparse_map[i].numbytes; } - if (rc) + if (!rc) skip_file (file.stat_info->archive_file_size - file.dumped_size); tar_sparse_done (&file);