aboutsummaryrefslogtreecommitdiff
path: root/archivers/php70-zlib/files/patch-zlib.c
blob: be02c50d1df61c792be893db130590f35e27f5b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- zlib.c.orig	2016-06-21 19:57:08 UTC
+++ zlib.c
@@ -1480,6 +1480,7 @@ static PHP_MSHUTDOWN_FUNCTION(zlib)
 /* {{{ PHP_RINIT_FUNCTION */
 static PHP_RINIT_FUNCTION(zlib)
 {
+	ZLIBG(output_compression) = 0;
 	ZLIBG(compression_coding) = 0;
     if (!ZLIBG(handler_registered)) {
         ZLIBG(output_compression) = ZLIBG(output_compression_default);