Commit e4a17886 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Fix for a bug report that compressed files that are exactly 64 KiB long

produce a zlib error.
parent 7b23eff9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -128,7 +128,7 @@ inflate_stream(struct SessionHandle *data,
      }

      /* Done with these bytes, exit */
      if (status == Z_OK && z->avail_in == 0 && z->avail_out > 0) {
      if (status == Z_OK && z->avail_in == 0) {
        free(decomp);
        return result;
      }