diff options
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -197,7 +197,7 @@ copy_fd(int fd_in, int fd_out) } int n; - char buf[10240]; + char buf[READ_BUF_SZ]; while ((n = gzread(gz_in, buf, sizeof(buf))) > 0) { ssize_t written = 0; do { @@ -297,7 +297,7 @@ copy_file(const char *src, const char *dest, int compress_level) } int n; - char buf[10240]; + char buf[READ_BUF_SZ]; while ((n = gzread(gz_in, buf, sizeof(buf))) > 0) { int written; if (compress_level > 0) { |