diff options
| author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-11-14 12:57:14 +0000 |
|---|---|---|
| committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-11-14 12:57:14 +0000 |
| commit | e57feeb9e602fbbc4804881685e40606a666a27d (patch) | |
| tree | bcd4006548b8918fc54aa93987620dc23961e3a0 | |
| parent | eba86e2adbd562c8cb25f7f1377aa9180db2b614 (diff) | |
| download | busybox-w32-e57feeb9e602fbbc4804881685e40606a666a27d.tar.gz busybox-w32-e57feeb9e602fbbc4804881685e40606a666a27d.tar.bz2 busybox-w32-e57feeb9e602fbbc4804881685e40606a666a27d.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
| -rw-r--r-- | archival/libunarchive/get_header_tar.c | 2 |
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 |
