diff options
-rw-r--r-- | main/streams/streams.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/main/streams/streams.c b/main/streams/streams.c index 39e231dbb6..7bc4c9ddb5 100644 --- a/main/streams/streams.c +++ b/main/streams/streams.c @@ -1535,9 +1535,7 @@ PHPAPI int _php_stream_copy_to_stream_ex(php_stream *src, php_stream *dest, size *len = didwrite; - /* we've got at least 1 byte to read. - * less than 1 is an error */ - + /* read bytes match written */ if (mapped == didwrite) { return SUCCESS; } |