diff options
| -rw-r--r-- | zlib.h | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -821,8 +821,9 @@ ZEXTERN int ZEXPORT deflateSetHeader(z_streamp strm, | |||
| 821 | gzip file" and give up. | 821 | gzip file" and give up. |
| 822 | 822 | ||
| 823 | If deflateSetHeader is not used, the default gzip header has text false, | 823 | If deflateSetHeader is not used, the default gzip header has text false, |
| 824 | the time set to zero, and os set to 255, with no extra, name, or comment | 824 | the time set to zero, and os set to the current operating system, with no |
| 825 | fields. The gzip header is returned to the default state by deflateReset(). | 825 | extra, name, or comment fields. The gzip header is returned to the default |
| 826 | state by deflateReset(). | ||
| 826 | 827 | ||
| 827 | deflateSetHeader returns Z_OK if success, or Z_STREAM_ERROR if the source | 828 | deflateSetHeader returns Z_OK if success, or Z_STREAM_ERROR if the source |
| 828 | stream state was inconsistent. | 829 | stream state was inconsistent. |
