mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
gunzip: s/unsigned char extra_short/unsigned extra_short/
we can unzip openssh-4.3p2.tar.gz now :)
This commit is contained in:
parent
4efeaee387
commit
3ce293b585
@ -29,7 +29,7 @@ void check_header_gzip_or_die(int src_fd)
|
||||
|
||||
if (header.formatted.flags & 0x04) {
|
||||
/* bit 2 set: extra field present */
|
||||
unsigned char extra_short;
|
||||
unsigned extra_short;
|
||||
|
||||
extra_short = xread_char(src_fd) + (xread_char(src_fd) << 8);
|
||||
while (extra_short > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user