]> Dogcows Code - chaz/tar/commitdiff
(sparse_diff_file): Bugfix. Thanks Martin Simmons for the patch.
authorSergey Poznyakoff <gray@gnu.org.ua>
Sat, 3 Jan 2004 11:44:45 +0000 (11:44 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Sat, 3 Jan 2004 11:44:45 +0000 (11:44 +0000)
src/sparse.c

index 52ed7711c52d8670037881fbc46e1774bdfe72da..a661ab18d3a47b3ed6cf5446130fc1dc957d2a76 100644 (file)
@@ -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);
This page took 0.025373 seconds and 4 git commands to generate.