cvs: php4 /ext/zlib zlib.c

From: Date: Fri, 12 Apr 2002 16:25:31 +0000
Subject: cvs: php4 /ext/zlib zlib.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11087@lists.php.net to get a copy of this message
fmk Fri Apr 12 12:25:31 2002 EDT Modified files: /php4/ext/zlib zlib.c Log: Removing a unused local variable. Setting the size before returning the value in readgzfile Index: php4/ext/zlib/zlib.c diff -u php4/ext/zlib/zlib.c:1.124 php4/ext/zlib/zlib.c:1.125 --- php4/ext/zlib/zlib.c:1.124 Wed Apr 10 18:42:26 2002 +++ php4/ext/zlib/zlib.c Fri Apr 12 12:25:31 2002 @@ -18,7 +18,7 @@ | Jade Nicoletti <nicoletti@nns.ch> | +----------------------------------------------------------------------+ */ -/* $Id: zlib.c,v 1.124 2002/04/10 22:42:26 wez Exp $ */ +/* $Id: zlib.c,v 1.125 2002/04/12 16:25:31 fmk Exp $ */ #define IS_EXT_MODULE #ifdef HAVE_CONFIG_H @@ -154,7 +154,7 @@ /* {{{ OnUpdate_zlib_output_compression_level */ static PHP_INI_MH(OnUpdate_zlib_output_compression_level) { - char *ini_value; +// char *ini_value; OnUpdateInt(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); @@ -386,7 +386,7 @@ if (!stream) { RETURN_FALSE; } - php_stream_passthru(stream); + size = php_stream_passthru(stream); php_stream_close(stream); RETURN_LONG(size); }

« previous php.cvs (#11087) next »