From 2b70aaf12d95dd640203b6141bf2e730dbfa705f Mon Sep 17 00:00:00 2001 From: "Thies C. Arntzen" Date: Thu, 6 Jul 2000 11:25:24 +0000 Subject: [PATCH] @- Fixed crash in gzopen(). (Thies) # hmm - this should be rethought as one should be able to do # gzopen("http://..") --- ext/zlib/zlib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index 69b2484d0d..4f52bb6553 100644 --- a/ext/zlib/zlib.c +++ b/ext/zlib/zlib.c @@ -153,8 +153,9 @@ PHP_MINFO_FUNCTION(zlib) static gzFile php_gzopen_wrapper(char *path, char *mode, int options) { FILE *f; + int issock=0, socketd=0; - f = php_fopen_wrapper(path, mode, options, NULL, NULL, NULL); + f = php_fopen_wrapper(path, mode, options, &issock, &socketd, NULL); if (!f) { return NULL; -- 2.50.1