mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-04-05 06:15:28 +00:00
Put warning about possibly wrong password at appropriate place in stream.c
Use char to be consistent in open_stream_in. Fail to failure() instead of fatal() should open_stream_in fail.
This commit is contained in:
parent
64bba65c11
commit
f7a1c14e28
2 changed files with 5 additions and 3 deletions
2
runzip.c
2
runzip.c
|
|
@ -303,7 +303,7 @@ static i64 runzip_chunk(rzip_control *control, int fd_in, int fd_out, int fd_his
|
|||
|
||||
ss = open_stream_in(control, fd_in, NUM_STREAMS, chunk_bytes);
|
||||
if (unlikely(!ss))
|
||||
fatal("Failed to open_stream_in in runzip_chunk\n");
|
||||
failure("Failed to open_stream_in in runzip_chunk\n");
|
||||
|
||||
while ((len = read_header(control, ss, &head)) || head) {
|
||||
switch (head) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue