helly Wed Oct 2 09:25:38 2002 EDT Modified files: /php4/main streams.c Log: Another missing variable init #Wez shouldn't "stream->filterhead->fops->flush()" affect return value also? Index: php4/main/streams.c diff -u php4/main/streams.c:1.87 php4/main/streams.c:1.88 --- php4/main/streams.c:1.87 Wed Oct 2 09:18:01 2002 +++ php4/main/streams.c Wed Oct 2 09:25:38 2002 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: streams.c,v 1.87 2002/10/02 13:18:01 helly Exp $ */ +/* $Id: streams.c,v 1.88 2002/10/02 13:25:38 helly Exp $ */ #define _GNU_SOURCE #include "php.h" @@ -687,7 +687,7 @@ PHPAPI int _php_stream_flush(php_stream *stream, int closing TSRMLS_DC) { - int ret; + int ret = 0; if (stream->filterhead) stream->filterhead->fops->flush(stream, stream->filterhead, closing TSRMLS_CC);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php