summaryrefslogtreecommitdiff
path: root/inffast.c
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2013-03-24 22:12:31 -0700
committerMark Adler <madler@alumni.caltech.edu>2013-03-24 22:15:04 -0700
commitc661c374e8df43365738daa09f4390d61bc57f08 (patch)
tree6aacaf41324478393daa5fb098a484bc0e9e0f6c /inffast.c
parent81c3068b9ac4e75a4c65338e5b95f421478f5295 (diff)
downloadzlib-c661c374e8df43365738daa09f4390d61bc57f08.tar.gz
Do not return Z_BUF_ERROR if deflateParam() has nothing to write.
If the compressed data was already at a block boundary, then deflateParam() would report Z_BUF_ERROR, because there was nothing to write. With this patch, Z_OK is returned in that case.
Diffstat (limited to 'inffast.c')
0 files changed, 0 insertions, 0 deletions