Update raw byte count statistic correctly.

This commit is contained in:
Tim Kientzle 2004-05-13 06:38:30 +00:00
parent 4809584dd6
commit f9bc91709e

View File

@ -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;