]>
Commit | Line | Data |
---|---|---|
82f6b657 ER |
1 | diff -up php-5.2.17/main/streams/streams.c.bug-60455 php-5.2.17/main/streams/streams.c |
2 | --- php-5.2.17/main/streams/streams.c.bug-60455 2012-01-12 11:50:11.000000000 +0700 | |
3 | +++ php-5.2.17/main/streams/streams.c 2012-01-12 11:50:55.000000000 +0700 | |
4 | @@ -879,7 +879,7 @@ PHPAPI char *php_stream_get_record(php_s | |
5 | just_read = (stream->writepos - stream->readpos) - len; | |
6 | len += just_read; | |
7 | ||
8 | - if (just_read < toread) { | |
9 | + if (just_read == 0) { | |
10 | break; | |
11 | } | |
12 | } |