summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2010-09-26 20:46:54 +0000
committerPierre Joye <pajoye@php.net>2010-09-26 20:46:54 +0000
commita531b5f0d273bdac611d6b96080332a0700b9180 (patch)
tree010007338300f969a4f12867e27fdcd8ebd8af49
parentdc0736b3ed01de07b897947cacf86f6fa0706fa5 (diff)
downloadphp-git-a531b5f0d273bdac611d6b96080332a0700b9180.tar.gz
- fix bug #52926, zlib fopen wrapper does not use the context
-rw-r--r--ext/zlib/zlib_fopen_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zlib/zlib_fopen_wrapper.c b/ext/zlib/zlib_fopen_wrapper.c
index c8b4263927..82dcba2046 100644
--- a/ext/zlib/zlib_fopen_wrapper.c
+++ b/ext/zlib/zlib_fopen_wrapper.c
@@ -128,7 +128,7 @@ php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, char *path, char *mod
path += 5;
}
- innerstream = php_stream_open_wrapper(path, mode, STREAM_MUST_SEEK | options | STREAM_WILL_CAST, opened_path);
+ innerstream = php_stream_open_wrapper_ex(path, mode, STREAM_MUST_SEEK | options | STREAM_WILL_CAST, opened_path, context);
if (innerstream) {
int fd;