summaryrefslogtreecommitdiff
path: root/abuild-tar.c
diff options
context:
space:
mode:
Diffstat (limited to 'abuild-tar.c')
-rw-r--r--abuild-tar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/abuild-tar.c b/abuild-tar.c
index c652e04..1293ddc 100644
--- a/abuild-tar.c
+++ b/abuild-tar.c
@@ -159,6 +159,7 @@ static ssize_t full_splice(int from_fd, int to_fd, size_t count)
if (n <= 0)
break;
count -= n;
+ total += n;
} while (1);
if (total == 0 && n < 0)