cvs: php4 /ext/zlib zlib_fopen_wrapper.c

From: Date: Mon, 18 Mar 2002 11:49:40 +0000
Subject: cvs: php4 /ext/zlib zlib_fopen_wrapper.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-10353@lists.php.net to get a copy of this message
wez Mon Mar 18 06:49:40 2002 EDT Modified files: /php4/ext/zlib zlib_fopen_wrapper.c Log: fix warning Index: php4/ext/zlib/zlib_fopen_wrapper.c diff -u php4/ext/zlib/zlib_fopen_wrapper.c:1.14 php4/ext/zlib/zlib_fopen_wrapper.c:1.15 --- php4/ext/zlib/zlib_fopen_wrapper.c:1.14 Sun Mar 17 17:50:58 2002 +++ php4/ext/zlib/zlib_fopen_wrapper.c Mon Mar 18 06:49:40 2002 @@ -15,7 +15,7 @@ | Author: Hartmut Holzgraefe <hartmut@six.de> | +----------------------------------------------------------------------+ */ -/* $Id: zlib_fopen_wrapper.c,v 1.14 2002/03/17 22:50:58 wez Exp $ */ +/* $Id: zlib_fopen_wrapper.c,v 1.15 2002/03/18 11:49:40 wez Exp $ */ #define IS_EXT_MODULE #define _GNU_SOURCE @@ -63,7 +63,7 @@ static int php_gziop_close(php_stream *stream, int close_handle) { struct php_gz_stream_data_t *self = (struct php_gz_stream_data_t *)stream->abstract; - int ret; + int ret = EOF; if (close_handle) ret = gzclose(self->gz_file);

« previous php.cvs (#10353) next »