diff options
Diffstat (limited to 'src/archive.c')
-rw-r--r-- | src/archive.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/archive.c b/src/archive.c index 1ab7961..8f22f42 100644 --- a/src/archive.c +++ b/src/archive.c @@ -363,8 +363,7 @@ int apk_archive_entry_extract(int atfd, const struct apk_file_info *ae, r = -1; break; } - if (apk_istream_splice(is, fd, ae->size, cb, cb_ctx) - == ae->size) + if (apk_istream_splice(is, fd, ae->size, cb, cb_ctx) == ae->size) r = 0; close(fd); } else { |