summaryrefslogtreecommitdiff
path: root/ext/zlib/zlib.c
diff options
context:
space:
mode:
authorDaniel Beulshausen <dbeu@php.net>2001-03-07 17:23:30 +0000
committerDaniel Beulshausen <dbeu@php.net>2001-03-07 17:23:30 +0000
commit177f9bd1f5a2c401c3d7139c49cd165ac6336d35 (patch)
tree6331abaad42f22a7c2f0e7088a2fdeb95443414e /ext/zlib/zlib.c
parent31775e970678662070a46b6075df782219d84be3 (diff)
downloadphp-git-177f9bd1f5a2c401c3d7139c49cd165ac6336d35.tar.gz
add missing globals fetches
Diffstat (limited to 'ext/zlib/zlib.c')
-rw-r--r--ext/zlib/zlib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c
index 42e8ae453e..db23f5d47e 100644
--- a/ext/zlib/zlib.c
+++ b/ext/zlib/zlib.c
@@ -1118,6 +1118,7 @@ PHP_FUNCTION(ob_gzhandler)
zval **data, **a_encoding;
zend_bool return_original=0;
zend_bool do_start, do_end;
+ ZLIBLS_FETCH();
if (ZEND_NUM_ARGS()!=2 || zend_get_parameters_ex(2, &zv_string, &zv_mode)==FAILURE) {
ZEND_WRONG_PARAM_COUNT();
@@ -1206,6 +1207,8 @@ static void php_gzip_output_handler(char *output, uint output_len, char **handle
int php_enable_output_compression(int buffer_size)
{
zval **a_encoding, **data;
+ ELS_FETCH();
+ ZLIBLS_FETCH();
if (zend_hash_find(&EG(symbol_table), "HTTP_SERVER_VARS", sizeof("HTTP_SERVER_VARS"), (void **) &data)==FAILURE
|| Z_TYPE_PP(data)!=IS_ARRAY