diff options
Diffstat (limited to 'archival')
-rw-r--r-- | archival/libunarchive/decompress_unzip.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/archival/libunarchive/decompress_unzip.c b/archival/libunarchive/decompress_unzip.c index 74de9af44..989ac4fd8 100644 --- a/archival/libunarchive/decompress_unzip.c +++ b/archival/libunarchive/decompress_unzip.c | |||
@@ -806,11 +806,11 @@ static int inflate_get_next_window(void) | |||
806 | } | 806 | } |
807 | 807 | ||
808 | switch (method) { | 808 | switch (method) { |
809 | case -1: ret = inflate_stored(0,0,0,0); | 809 | case -1: ret = inflate_stored(0,0,0,0); |
810 | break; | 810 | break; |
811 | case -2: ret = inflate_codes(0,0,0,0,0); | 811 | case -2: ret = inflate_codes(0,0,0,0,0); |
812 | break; | 812 | break; |
813 | default: bb_error_msg_and_die("inflate error %d", method); | 813 | default: bb_error_msg_and_die("inflate error %d", method); |
814 | } | 814 | } |
815 | 815 | ||
816 | if (ret == 1) { | 816 | if (ret == 1) { |
@@ -911,7 +911,7 @@ int inflate_gunzip(int in, int out) | |||
911 | if (gunzip_bytes_out != | 911 | if (gunzip_bytes_out != |
912 | (bytebuffer[bytebuffer_offset] | (bytebuffer[bytebuffer_offset+1] << 8) | | 912 | (bytebuffer[bytebuffer_offset] | (bytebuffer[bytebuffer_offset+1] << 8) | |
913 | (bytebuffer[bytebuffer_offset+2] << 16) | (bytebuffer[bytebuffer_offset+3] << 24))) { | 913 | (bytebuffer[bytebuffer_offset+2] << 16) | (bytebuffer[bytebuffer_offset+3] << 24))) { |
914 | bb_error_msg("Incorrect length"); | 914 | bb_error_msg("incorrect length"); |
915 | return -1; | 915 | return -1; |
916 | } | 916 | } |
917 | 917 | ||