From d2d8762267de33b954363189b4ec710e70527a2a Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sun, 17 Mar 2002 22:50:59 +0000 Subject: Streams now make more use of the memory manager, so tracking down leaking streams should be easier. # I hate these big commits --- ext/zlib/zlib_fopen_wrapper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/zlib/zlib_fopen_wrapper.c') diff --git a/ext/zlib/zlib_fopen_wrapper.c b/ext/zlib/zlib_fopen_wrapper.c index 5d3129f843..c28ab6a1e5 100644 --- a/ext/zlib/zlib_fopen_wrapper.c +++ b/ext/zlib/zlib_fopen_wrapper.c @@ -80,7 +80,7 @@ php_stream_ops php_stream_gzio_ops = { NULL, "ZLIB" }; -php_stream *php_stream_gzopen(char *path, char *mode, int options, char **opened_path TSRMLS_DC) +php_stream *php_stream_gzopen(char *path, char *mode, int options, char **opened_path STREAMS_DC) { struct php_gz_stream_data_t *self; php_stream *stream = NULL; @@ -90,7 +90,7 @@ php_stream *php_stream_gzopen(char *path, char *mode, int options, char **opened if (strncmp("zlib:", path, 5) == 0) path += 5; - self->stream = php_stream_open_wrapper(path, mode, options, opened_path TSRMLS_CC); + self->stream = php_stream_open_wrapper(path, mode, options, opened_path); if (self->stream) { int fd; -- cgit v1.2.1