diff options
| -rw-r--r-- | zip.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -53,7 +53,7 @@ static void free_zip(void *const p) static int dump_final(void *const buf, const size_t n, bool *const done, void *const user, struct zip *const z) { - const ssize_t r = read(z->fds[0], buf, z->lread); + const ssize_t r = read(z->fds[0], buf, n); if (r < 0) { |
