X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fsparse.c;h=a661ab18d3a47b3ed6cf5446130fc1dc957d2a76;hb=b74232b9ad8d8c74c94066fc51f7807df0fb53a8;hp=52ed7711c52d8670037881fbc46e1774bdfe72da;hpb=3d09d579c1bf128cabe79d18a97c879163ceb85a;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);