mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-01-20 15:20:15 +01:00
Fix fileinfo output for versions < 0.5.
This commit is contained in:
parent
64ca85120c
commit
9bd7468465
6
lrzip.c
6
lrzip.c
|
|
@ -514,8 +514,12 @@ void get_fileinfo(rzip_control *control)
|
|||
stream_head[2];
|
||||
int header_length = 25, stream = 0, chunk = 0;
|
||||
|
||||
if (control->major_version == 0 && control->minor_version < 4)
|
||||
if (control->major_version == 0 && control->minor_version < 4) {
|
||||
ofs = 24;
|
||||
header_length = 13;
|
||||
}
|
||||
if (control->major_version == 0 && control->minor_version == 4)
|
||||
ofs = 24;
|
||||
next_chunk:
|
||||
stream = 0;
|
||||
stream_head[0] = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue