]> sjero.net Git - wget/commitdiff
Fix comment
authorGiuseppe Scrivano <gscrivano@gnu.org>
Wed, 14 Nov 2012 23:35:17 +0000 (00:35 +0100)
committerGiuseppe Scrivano <gscrivano@gnu.org>
Wed, 14 Nov 2012 23:35:17 +0000 (00:35 +0100)
src/ChangeLog
src/retr.c

index b7663aed7964dedd3705760cacd3748be583ff9d..cba211359d5e0d8cd05a3f692e3fc79c2d19a4e4 100644 (file)
@@ -1,3 +1,7 @@
+2012-11-15  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * retr.c (write_data): Fix comment.
+
 2012-11-13  Giuseppe Scrivano  <gscrivano@gnu.org>
 
        * retr.c (fd_read_body): Correctly check the return code from
index 5bbae8008f056439582ba66f85db9f6091e82e98..32dc41e27c695561566106c28d6edf8dd47065bf 100644 (file)
@@ -141,8 +141,8 @@ limit_bandwidth (wgint bytes, struct ptimer *timer)
    amount of data and decrease SKIP.  Increment *TOTAL by the amount
    of data written.  If OUT2 is not NULL, also write BUF to OUT2.
    In case of error writing to OUT, -1 is returned.  In case of error
-   writing to OUT2, -2 is returned.  In case of any other error,
-   1 is returned.  */
+   writing to OUT2, -2 is returned.  Return 1 if the whole BUF was
+   skipped.  */
 
 static int
 write_data (FILE *out, FILE *out2, const char *buf, int bufsize,