- attempt to fix bug #8872 (build fails --without-http-zlib-compression)
[m6w6/ext-http] / http_response_object.c
index d7be4032c15f40fc347616600085857c0eff9a09..8b00412771d531ee6c6e051e6c9fadc119354ebb 100644 (file)
@@ -1154,7 +1154,7 @@ PHP_METHOD(HttpResponse, send)
        }
 
        /* gzip */
-       HTTP_G->send.deflate.encoding = zval_is_true(GET_STATIC_PROP(gzip));
+       HTTP_G->send.deflate.response = zval_is_true(GET_STATIC_PROP(gzip));
        
        /* send */
        switch (Z_LVAL_P(GET_STATIC_PROP(mode))) {