aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-11-14 12:57:14 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-11-14 12:57:14 +0000
commit8314385f9c6960f46be9f45c6a4f5d9f3b2365c0 (patch)
treebcd4006548b8918fc54aa93987620dc23961e3a0 /archival
parent6220ecb2a3eb391244c325f79708e560c7ae9c54 (diff)
downloadbusybox-w32-8314385f9c6960f46be9f45c6a4f5d9f3b2365c0.tar.gz
busybox-w32-8314385f9c6960f46be9f45c6a4f5d9f3b2365c0.tar.bz2
busybox-w32-8314385f9c6960f46be9f45c6a4f5d9f3b2365c0.zip
Keep trying to find a good header, if we exit it will cause .tar.gz
files to compute incorrect crc and length for gzip git-svn-id: svn://busybox.net/trunk/busybox@7914 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'archival')
-rw-r--r--archival/libunarchive/get_header_tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/get_header_tar.c b/archival/libunarchive/get_header_tar.c
index 7fa0a0088..cf5ac6b62 100644
--- a/archival/libunarchive/get_header_tar.c
+++ b/archival/libunarchive/get_header_tar.c
@@ -65,7 +65,7 @@ extern char get_header_tar(archive_handle_t *archive_handle)
65 65
66 /* If there is no filename its an empty header */ 66 /* If there is no filename its an empty header */
67 if (tar.formated.name[0] == 0) { 67 if (tar.formated.name[0] == 0) {
68 return(EXIT_FAILURE); 68 return(EXIT_SUCCESS);
69 } 69 }
70 70
71 /* Check header has valid magic, "ustar" is for the proper tar 71 /* Check header has valid magic, "ustar" is for the proper tar