From b74232b9ad8d8c74c94066fc51f7807df0fb53a8 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Sat, 3 Jan 2004 11:44:45 +0000 Subject: [PATCH] (sparse_diff_file): Bugfix. Thanks Martin Simmons for the patch. --- src/sparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.44.0