summaryrefslogtreecommitdiff
path: root/main/streams
diff options
context:
space:
mode:
authorRemi Collet <remi@php.net>2013-04-02 16:24:00 +0200
committerRemi Collet <remi@php.net>2013-04-02 16:24:00 +0200
commit8e8a75444cbb6bb108e212d48513343fe21c9255 (patch)
tree61f558fa744ca486dd709f8c1e5f62664d682356 /main/streams
parent6b4148bc9705d2668dd8589009215a8eb3076f31 (diff)
downloadphp-git-8e8a75444cbb6bb108e212d48513343fe21c9255.tar.gz
fix comment
Diffstat (limited to 'main/streams')
-rw-r--r--main/streams/streams.c4
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;
}