mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
Brace failure lead to broken dump to stdout
This commit is contained in:
parent
79cebb663b
commit
e590d781f3
4
stream.c
4
stream.c
|
|
@ -625,8 +625,8 @@ ssize_t put_fdout(rzip_control *control, void *offset_buf, ssize_t ret)
|
|||
print_err("Unable to write_fdout tmpoutbuf in put_fdout\n");
|
||||
return -1;
|
||||
}
|
||||
close_tmpoutbuf(control); {
|
||||
if (unlikely(!write_fdout(control, offset_buf, ret)))
|
||||
close_tmpoutbuf(control);
|
||||
if (unlikely(!write_fdout(control, offset_buf, ret))) {
|
||||
print_err("Unable to write_fdout offset_buf in put_fdout\n");
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue