summaryrefslogtreecommitdiff
path: root/ext/zlib/zlib_fopen_wrapper.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-03-28 00:49:00 +0000
committerWez Furlong <wez@php.net>2002-03-28 00:49:00 +0000
commit2539cbc74c4f2cca2f39f99b2d679bb4e329b53d (patch)
tree380105fca3acb74ef0b27723c4207856767e67ea /ext/zlib/zlib_fopen_wrapper.c
parentfa4341dcdff116be55081b5782e2c027b2421b9b (diff)
downloadphp-git-2539cbc74c4f2cca2f39f99b2d679bb4e329b53d.tar.gz
Phase 3 of OO wrapper cleanup
# What was phase 2?
Diffstat (limited to 'ext/zlib/zlib_fopen_wrapper.c')
-rw-r--r--ext/zlib/zlib_fopen_wrapper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/zlib/zlib_fopen_wrapper.c b/ext/zlib/zlib_fopen_wrapper.c
index c6e60e3638..c345241aa6 100644
--- a/ext/zlib/zlib_fopen_wrapper.c
+++ b/ext/zlib/zlib_fopen_wrapper.c
@@ -88,8 +88,9 @@ static int php_gziop_flush(php_stream *stream TSRMLS_DC)
php_stream_ops php_stream_gzio_ops = {
php_gziop_write, php_gziop_read,
php_gziop_close, php_gziop_flush,
+ "ZLIB",
php_gziop_seek, php_gziop_gets,
- NULL, "ZLIB"
+ NULL, NULL
};
php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path STREAMS_DC TSRMLS_DC)