]> git.pld-linux.org Git - packages/zlib.git/blob - zlib-gzflush.patch
- release 4
[packages/zlib.git] / zlib-gzflush.patch
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.027065 seconds and 3 git commands to generate.