mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
xz: Fix return value type in io_write_buf().
It didn't affect the behavior of the code since -1 becomes true anyway.
This commit is contained in:
parent
9dc319eabb
commit
e61a5c95da
1 changed files with 1 additions and 1 deletions
|
@ -1035,7 +1035,7 @@ io_write_buf(file_pair *pair, const uint8_t *buf, size_t size)
|
|||
if (amount == -1) {
|
||||
if (errno == EINTR) {
|
||||
if (user_abort)
|
||||
return -1;
|
||||
return true;
|
||||
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue