diff options
author | THE-Spellchecker <The.Spellchecker@outlook.com> | 2023-12-02 16:56:47 -0600 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2024-01-17 13:49:11 -0800 |
commit | 01155ccc3f822a31291a64e4ecd5f1dbb8a8ee63 (patch) | |
tree | b00812cd5ba12d7ee803f2771d2f0e1304e66677 /contrib/minizip/zip.c | |
parent | 16799d064b55a6b093fc52364f3343a1b1fa3b2f (diff) | |
download | zlib-01155ccc3f822a31291a64e4ecd5f1dbb8a8ee63.tar.gz zlib-01155ccc3f822a31291a64e4ecd5f1dbb8a8ee63.tar.bz2 zlib-01155ccc3f822a31291a64e4ecd5f1dbb8a8ee63.zip |
Fix random typos over several source and text files.
Diffstat (limited to 'contrib/minizip/zip.c')
-rw-r--r-- | contrib/minizip/zip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/minizip/zip.c b/contrib/minizip/zip.c index e2e9da0..60bdffa 100644 --- a/contrib/minizip/zip.c +++ b/contrib/minizip/zip.c | |||
@@ -575,7 +575,7 @@ local ZPOS64_T zip64local_SearchCentralDir64(const zlib_filefunc64_32_def* pzlib | |||
575 | if (zip64local_getLong(pzlib_filefunc_def,filestream,&uL)!=ZIP_OK) | 575 | if (zip64local_getLong(pzlib_filefunc_def,filestream,&uL)!=ZIP_OK) |
576 | return 0; | 576 | return 0; |
577 | 577 | ||
578 | /* number of the disk with the start of the zip64 end of central directory */ | 578 | /* number of the disk with the start of the zip64 end of central directory */ |
579 | if (zip64local_getLong(pzlib_filefunc_def,filestream,&uL)!=ZIP_OK) | 579 | if (zip64local_getLong(pzlib_filefunc_def,filestream,&uL)!=ZIP_OK) |
580 | return 0; | 580 | return 0; |
581 | if (uL != 0) | 581 | if (uL != 0) |
@@ -1608,7 +1608,7 @@ extern int ZEXPORT zipCloseFileInZipRaw64(zipFile file, ZPOS64_T uncompressed_si | |||
1608 | 1608 | ||
1609 | if((uLong)(datasize + 4) > zi->ci.size_centralExtraFree) | 1609 | if((uLong)(datasize + 4) > zi->ci.size_centralExtraFree) |
1610 | { | 1610 | { |
1611 | // we can not write more data to the buffer that we have room for. | 1611 | // we cannot write more data to the buffer that we have room for. |
1612 | return ZIP_BADZIPFILE; | 1612 | return ZIP_BADZIPFILE; |
1613 | } | 1613 | } |
1614 | 1614 | ||