From e61a5c95da3fe31281d959e5e842885a8ba2b5bd Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Fri, 28 Jun 2013 23:56:17 +0300 Subject: xz: Fix return value type in io_write_buf(). It didn't affect the behavior of the code since -1 becomes true anyway. --- src/xz/file_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/xz/file_io.c b/src/xz/file_io.c index 21cdecb0..a54dfa2e 100644 --- a/src/xz/file_io.c +++ b/src/xz/file_io.c @@ -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; } -- cgit v1.2.3