Setting the size before returning the value in readgzfile
/* {{{ OnUpdate_zlib_output_compression_level */
static PHP_INI_MH(OnUpdate_zlib_output_compression_level)
{
- char *ini_value;
+// char *ini_value;
OnUpdateInt(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
if (!stream) {
RETURN_FALSE;
}
- php_stream_passthru(stream);
+ size = php_stream_passthru(stream);
php_stream_close(stream);
RETURN_LONG(size);
}