mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-01-29 03:24:19 +01:00
Yet #5 more BE fixes.
This commit is contained in:
parent
637b0d5f7c
commit
279b745cd7
5
stream.c
5
stream.c
|
|
@ -1155,10 +1155,13 @@ again:
|
|||
goto failed;
|
||||
header_length = 1 + (read_len * 3);
|
||||
}
|
||||
|
||||
if (ENCRYPT)
|
||||
decrypt_header(control, enc_head, &c, &v1, &v2, &sinfo->s[i].last_head);
|
||||
|
||||
v1 = le64toh(v1);
|
||||
v2 = le64toh(v2);
|
||||
sinfo->s[i].last_head = le64toh(sinfo->s[i].last_head);
|
||||
|
||||
if (unlikely(c == CTYPE_NONE && v1 == 0 && v2 == 0 && sinfo->s[i].last_head == 0 && i == 0)) {
|
||||
print_err("Enabling stream close workaround\n");
|
||||
sinfo->initial_pos += header_length;
|
||||
|
|
|
|||
Loading…
Reference in a new issue