diff options
author | Pierre Joye <pajoye@php.net> | 2010-09-26 20:46:54 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2010-09-26 20:46:54 +0000 |
commit | a531b5f0d273bdac611d6b96080332a0700b9180 (patch) | |
tree | 010007338300f969a4f12867e27fdcd8ebd8af49 | |
parent | dc0736b3ed01de07b897947cacf86f6fa0706fa5 (diff) | |
download | php-git-a531b5f0d273bdac611d6b96080332a0700b9180.tar.gz |
- fix bug #52926, zlib fopen wrapper does not use the context
-rw-r--r-- | ext/zlib/zlib_fopen_wrapper.c | 2 |
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; |