Ticket #6994: zlib_patch2.txt

File zlib_patch2.txt, 327 bytes (added by anonymous, 8 years ago)
Line 
1--- zlib.cpp 2014-11-03 15:47:02.000000000 +0000
2+++ zlib.cpp.new 2014-08-19 22:23:44.000000000 +0100
3@@ -150,7 +150,11 @@
4 (compress ? deflateEnd(s) : inflateEnd(s))
5 ;
6 //);
7- crc_imp_ = 0;
8+ if( compress ) {
9+ crc_imp_ = 0;
10+ } else {
11+ crc_ = crc_imp_ = 0 ;
12+ }
13 }