summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/zlib/zlib.c3
1 files changed, 2 insertions, 1 deletions
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;