cvs: php-src(PHP_4_4) /main memory_streams.c

From: Date: Fri, 07 Oct 2005 07:40:55 +0000
Subject: cvs: php-src(PHP_4_4) /main memory_streams.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-34383@lists.php.net to get a copy of this message
helly Fri Oct 7 03:40:55 2005 EDT Modified files: (Branch: PHP_4_4) /php-src/main memory_streams.c Log: - MFH C vs. C++ fix http://cvs.php.net/diff.php/php-src/main/memory_streams.c?r1=1.20.2.2.8.1&r2=1.20.2.2.8.2&ty=u Index: php-src/main/memory_streams.c diff -u php-src/main/memory_streams.c:1.20.2.2.8.1 php-src/main/memory_streams.c:1.20.2.2.8.2 --- php-src/main/memory_streams.c:1.20.2.2.8.1 Thu Oct 6 17:35:29 2005 +++ php-src/main/memory_streams.c Fri Oct 7 03:40:54 2005 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: memory_streams.c,v 1.20.2.2.8.1 2005/10/06 21:35:29 helly Exp $ */ +/* $Id: memory_streams.c,v 1.20.2.2.8.2 2005/10/07 07:40:54 helly Exp $ */ #define _GNU_SOURCE #include "php.h" @@ -308,12 +308,13 @@ static size_t php_stream_temp_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) { php_stream_temp_data *ts; + size_t got; assert(stream != NULL); ts = stream->abstract; assert(ts != NULL); - size_t got = php_stream_read(ts->innerstream, buf, count); + got = php_stream_read(ts->innerstream, buf, count); if (!got) { stream->eof |= ts->innerstream->eof;

« previous php.cvs (#34383) next »