From: Pierre Joye Date: Sun, 26 Sep 2010 20:46:54 +0000 (+0000) Subject: - fix bug #52926, zlib fopen wrapper does not use the context X-Git-Tag: php-5.4.0alpha1~191^2~888 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a531b5f0d273bdac611d6b96080332a0700b9180;p=php - fix bug #52926, zlib fopen wrapper does not use the context --- 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;