com php-src: fix comment: main/streams/streams.c
| From: | Remi Collet | Date: | Tue, 02 Apr 2013 14:24:00 +0000 |
| Subject: | com php-src: fix comment: main/streams/streams.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-71825@lists.php.net to get a copy of this message | ||
Commit: 8e8a75444cbb6bb108e212d48513343fe21c9255
Author: Remi Collet <remi@php.net> Tue, 2 Apr 2013 16:24:00 +0200
Parents: 6b4148bc9705d2668dd8589009215a8eb3076f31
Branches: PHP-5.4 PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8e8a75444cbb6bb108e212d48513343fe21c9255
Log:
fix comment
Changed paths:
M main/streams/streams.c
Diff:
diff --git a/main/streams/streams.c b/main/streams/streams.c
index 39e231d..7bc4c9d 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;
}