]> granicus.if.org Git - php/commitdiff
- fix bug #52926, zlib fopen wrapper does not use the context
authorPierre Joye <pajoye@php.net>
Sun, 26 Sep 2010 20:46:54 +0000 (20:46 +0000)
committerPierre Joye <pajoye@php.net>
Sun, 26 Sep 2010 20:46:54 +0000 (20:46 +0000)
ext/zlib/zlib_fopen_wrapper.c

index c8b4263927a2e7ff339fa6fd50d2455d5fd7230b..82dcba204668c8e4f4dc47fda88d5687251e7165 100644 (file)
@@ -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;