]> git.pld-linux.org Git - packages/zlib.git/blame - zlib-gzflush.patch
- release 4
[packages/zlib.git] / zlib-gzflush.patch
CommitLineData
42eb4c3e
AM
1--- gzwrite.c 2010-01-18 21:18:27.000000000 +0100
2+++ gzwrite.c 2010-01-28 04:37:20.330530306 +0100
3@@ -435,7 +435,8 @@
4 state = (gz_statep)file;
5
6 /* check that we're writing and that there's no error */
7- if (state->mode != GZ_WRITE|| state->err != Z_OK)
8+ if (state->mode != GZ_WRITE || state->err != Z_OK)
9+ return Z_STREAM_ERROR;
10
11 /* check flush parameter */
12 if (flush < 0 || flush > Z_FINISH)
This page took 0.0242019999999999 seconds and 4 git commands to generate.