]> source.dussan.org Git - tigervnc.git/commit
Fix error check for zlib calls
authorPierre Ossman <ossman@cendio.se>
Thu, 27 Feb 2020 12:35:41 +0000 (13:35 +0100)
committerPierre Ossman <ossman@cendio.se>
Thu, 27 Feb 2020 12:35:41 +0000 (13:35 +0100)
commit1688e8cd57606f7aaeb0abddc8e9ce3827d253cc
treefec1b9ceffdfad206b4672a07ee18fb393c82355
parentea85e8b32b238b2c93bd94fe5fb9bba7c519fa88
Fix error check for zlib calls

There are multiple "okay" return values, not just Z_OK. Make sure we
don't bail out needlessly.
common/rdr/ZlibInStream.cxx
common/rdr/ZlibOutStream.cxx