Avoid extraneous empty blocks when doing empty flushes.
authorMark Adler <madler@alumni.caltech.edu>
Thu, 29 Dec 2011 08:03:55 +0000 (00:03 -0800)
committerMark Adler <madler@alumni.caltech.edu>
Thu, 29 Dec 2011 08:03:55 +0000 (00:03 -0800)
commit9d55abc96968db80749df5ebf412d36e2d66de26
tree2b422f40b006d947ce8f690641129bc8c95aef2b
parentf1ebdd6a9c495a5db9a22aa80dd7d54ae7db42e9
Avoid extraneous empty blocks when doing empty flushes.

Previously when doing an empty flush, a extra static or stored block
could be emitted before the requested empty static or stored block.
This patch prevents the emission of empty blocks by the deflate_*
functions.
deflate.c