]> Dogcows Code - chaz/tar/blobdiff - src/sparse.c
(sparse_diff_file): Bugfix. Thanks Martin Simmons for the patch.
[chaz/tar] / 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.019645 seconds and 4 git commands to generate.