diff options
author | Denis Vlasenko | 2006-09-30 19:37:25 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-09-30 19:37:25 +0000 |
commit | 3038ac9c1977c8472fdda2d833a4e4fd5ba6ea94 (patch) | |
tree | bf0916588f5f19a2400a6abf02de8de31014f0d4 /archival/libunarchive | |
parent | 02be0f5350fb3b316e864f0484b8998ccce66fdd (diff) | |
download | busybox-3038ac9c1977c8472fdda2d833a4e4fd5ba6ea94.zip busybox-3038ac9c1977c8472fdda2d833a4e4fd5ba6ea94.tar.gz |
vconfig: fix bug 701 (I be damned if I understand it)
Diffstat (limited to 'archival/libunarchive')
-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 74de9af..989ac4f 100644 --- a/archival/libunarchive/decompress_unzip.c +++ b/archival/libunarchive/decompress_unzip.c @@ -806,11 +806,11 @@ static int inflate_get_next_window(void) } switch (method) { - case -1: ret = inflate_stored(0,0,0,0); - break; - case -2: ret = inflate_codes(0,0,0,0,0); - break; - default: bb_error_msg_and_die("inflate error %d", method); + case -1: ret = inflate_stored(0,0,0,0); + break; + case -2: ret = inflate_codes(0,0,0,0,0); + break; + default: bb_error_msg_and_die("inflate error %d", method); } if (ret == 1) { @@ -911,7 +911,7 @@ int inflate_gunzip(int in, int out) if (gunzip_bytes_out != (bytebuffer[bytebuffer_offset] | (bytebuffer[bytebuffer_offset+1] << 8) | (bytebuffer[bytebuffer_offset+2] << 16) | (bytebuffer[bytebuffer_offset+3] << 24))) { - bb_error_msg("Incorrect length"); + bb_error_msg("incorrect length"); return -1; } |