]> granicus.if.org Git - php/commitdiff
revert by Wez's request
authorAntony Dovgal <tony2001@php.net>
Mon, 23 May 2005 15:36:58 +0000 (15:36 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 23 May 2005 15:36:58 +0000 (15:36 +0000)
main/streams/streams.c

index c1d7cb34e1bc2dd8c1e0dc00c77caacee0b940c6..8b0ee5a3d2c87004f7ebd1749bfe354318971ead 100755 (executable)
@@ -603,7 +603,7 @@ PHPAPI size_t _php_stream_read(php_stream *stream, char *buf, size_t size TSRMLS
                }
 
                /* just break anyway, to avoid greedy read */
-               if (stream->wrapper != NULL && stream->wrapper != &php_plain_files_wrapper) {
+               if (stream->wrapper != &php_plain_files_wrapper) {
                        break;
                }
        }