diff options
| author | Wez Furlong <wez@php.net> | 2002-10-19 10:34:10 +0000 |
|---|---|---|
| committer | Wez Furlong <wez@php.net> | 2002-10-19 10:34:10 +0000 |
| commit | f42b26bc220df246856cb76907cf2c84d284f823 (patch) | |
| tree | 81024fad3587660676616b5b00a76a70be2af2cb | |
| parent | cda87f750919e486751a005a1d42b8c97af6a94d (diff) | |
| download | php-git-f42b26bc220df246856cb76907cf2c84d284f823.tar.gz | |
Probable fix for #19944
| -rwxr-xr-x | main/streams.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams.c b/main/streams.c index e71a42585c..9e61916bd9 100755 --- a/main/streams.c +++ b/main/streams.c @@ -495,7 +495,7 @@ static void php_stream_fill_read_buffer(php_stream *stream, size_t size TSRMLS_D TSRMLS_CC); } - if (justread > 0) { + if (justread != (size_t)-1) { stream->writepos += justread; } } |
