Skip to content

Commit a531b5f

Browse files
committed
- fix bug #52926, zlib fopen wrapper does not use the context
1 parent dc0736b commit a531b5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/zlib/zlib_fopen_wrapper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, char *path, char *mod
128128
path += 5;
129129
}
130130

131-
innerstream = php_stream_open_wrapper(path, mode, STREAM_MUST_SEEK | options | STREAM_WILL_CAST, opened_path);
131+
innerstream = php_stream_open_wrapper_ex(path, mode, STREAM_MUST_SEEK | options | STREAM_WILL_CAST, opened_path, context);
132132

133133
if (innerstream) {
134134
int fd;

0 commit comments

Comments
 (0)