Merge pull request #1566 from mingulov/unzip_crc

Zip support: broken CRC check / unzCloseCurrentFile
This commit is contained in:
minggo 2012-11-15 23:31:14 -08:00
commit 605771697a
1 changed files with 1 additions and 1 deletions

View File

@ -1568,7 +1568,7 @@ int ZEXPORT unzOpenCurrentFile3 (unzFile file, int* method,
/* #endif */
(s->cur_file_info.compression_method!=Z_DEFLATED))
//err=UNZ_BADZIPFILE;
;//err=UNZ_BADZIPFILE;
pfile_in_zip_read_info->crc32_wait=s->cur_file_info.crc;
pfile_in_zip_read_info->crc32=0;