diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2016-10-30 08:36:13 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2016-10-30 08:49:01 -0700 |
commit | 03614c56ad299f9b238c75aa1e66f0c08fc4fc8b (patch) | |
tree | 6cb5d2059fe21c342cb10a2b25e0ce000c33c96a /zlib.h | |
parent | 94575859cf7f657f0f31aff4c50761fe3f182699 (diff) | |
download | zlib-03614c56ad299f9b238c75aa1e66f0c08fc4fc8b.tar.gz zlib-03614c56ad299f9b238c75aa1e66f0c08fc4fc8b.tar.bz2 zlib-03614c56ad299f9b238c75aa1e66f0c08fc4fc8b.zip |
Fix some typos.
Diffstat (limited to 'zlib.h')
-rw-r--r-- | zlib.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -487,7 +487,7 @@ ZEXTERN int ZEXPORT inflate OF((z_streamp strm, int flush)); | |||
487 | instead use raw inflate, see inflateInit2() below, or inflateBack() and | 487 | instead use raw inflate, see inflateInit2() below, or inflateBack() and |
488 | perform their own processing of the gzip header and trailer. When processing | 488 | perform their own processing of the gzip header and trailer. When processing |
489 | gzip-wrapped deflate data, strm->adler32 is set to the CRC-32 of the output | 489 | gzip-wrapped deflate data, strm->adler32 is set to the CRC-32 of the output |
490 | producted so far. The CRC-32 is checked against the gzip trailer. | 490 | produced so far. The CRC-32 is checked against the gzip trailer. |
491 | 491 | ||
492 | inflate() returns Z_OK if some progress has been made (more input processed | 492 | inflate() returns Z_OK if some progress has been made (more input processed |
493 | or more output produced), Z_STREAM_END if the end of the compressed data has | 493 | or more output produced), Z_STREAM_END if the end of the compressed data has |
@@ -1444,7 +1444,7 @@ ZEXTERN int ZEXPORT gzflush OF((gzFile file, int flush)); | |||
1444 | If the flush parameter is Z_FINISH, the remaining data is written and the | 1444 | If the flush parameter is Z_FINISH, the remaining data is written and the |
1445 | gzip stream is completed in the output. If gzwrite() is called again, a new | 1445 | gzip stream is completed in the output. If gzwrite() is called again, a new |
1446 | gzip stream will be started in the output. gzread() is able to read such | 1446 | gzip stream will be started in the output. gzread() is able to read such |
1447 | concatented gzip streams. | 1447 | concatenated gzip streams. |
1448 | 1448 | ||
1449 | gzflush should be called only when strictly necessary because it will | 1449 | gzflush should be called only when strictly necessary because it will |
1450 | degrade compression if called too often. | 1450 | degrade compression if called too often. |