diff --git a/minizip/zip.c b/minizip/zip.c index ef21e89..1430060 100644 --- a/minizip/zip.c +++ b/minizip/zip.c @@ -1051,8 +1051,8 @@ extern int ZEXPORT zipCloseFileInZipRaw (file, uncompressed_size, crc32) uLong uTotalOutBefore; if (zi->ci.stream.avail_out == 0) { - if (zipFlushWriteBuffer(zi) == ZIP_ERRNO) - err = ZIP_ERRNO; +// if (zipFlushWriteBuffer(zi) == ZIP_ERRNO) +// err = ZIP_ERRNO; zi->ci.stream.avail_out = (uInt)Z_BUFSIZE; zi->ci.stream.next_out = zi->ci.buffered_data; }