Fix bug in gzwrite.c that produced corrupt gzip files.

pull/161/merge
Mark Adler 8 years ago
parent bc5503b224
commit 0b5c158cc7
  1. 1
      gzwrite.c

@ -117,6 +117,7 @@ local int gz_comp(state, flush)
if (strm->avail_out == 0) {
strm->avail_out = state->size;
strm->next_out = state->out;
state->x.next = state->out;
}
}

Loading…
Cancel
Save