From c8d65502bcd822baf7d5dd0d74bb0b5cf2878348 Mon Sep 17 00:00:00 2001 From: kientzle Date: Thu, 13 May 2004 06:38:30 +0000 Subject: [PATCH] Update raw byte count statistic correctly. --- lib/libarchive/archive_write_set_compression_gzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libarchive/archive_write_set_compression_gzip.c b/lib/libarchive/archive_write_set_compression_gzip.c index 6832d9723c22..7b037ef949a1 100644 --- a/lib/libarchive/archive_write_set_compression_gzip.c +++ b/lib/libarchive/archive_write_set_compression_gzip.c @@ -351,7 +351,7 @@ drive_compressor(struct archive *a, struct private_data *state, int finishing) state->compressed + ret, state->compressed_buffer_size - ret); } - + a->raw_position += ret; state->stream.next_out = state->compressed + state->compressed_buffer_size - ret;