1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 11:42:17 +02:00

@- Fixed crash in gzopen(). (Thies)

# hmm - this should be rethought as one should be able to do
# gzopen("http://..")
This commit is contained in:
Thies C. Arntzen
2000-07-06 11:25:24 +00:00
parent 81ded022e0
commit 2b70aaf12d

View File

@@ -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;