1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Fix comment

This commit is contained in:
Giuseppe Scrivano 2012-11-15 00:35:17 +01:00
parent b1838bdfd1
commit 4f09a3118f
2 changed files with 6 additions and 2 deletions

View 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> 2012-11-13 Giuseppe Scrivano <gscrivano@gnu.org>
* retr.c (fd_read_body): Correctly check the return code from * retr.c (fd_read_body): Correctly check the return code from

View File

@ -141,8 +141,8 @@ limit_bandwidth (wgint bytes, struct ptimer *timer)
amount of data and decrease SKIP. Increment *TOTAL by the amount amount of data and decrease SKIP. Increment *TOTAL by the amount
of data written. If OUT2 is not NULL, also write BUF to OUT2. 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 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, writing to OUT2, -2 is returned. Return 1 if the whole BUF was
1 is returned. */ skipped. */
static int static int
write_data (FILE *out, FILE *out2, const char *buf, int bufsize, write_data (FILE *out, FILE *out2, const char *buf, int bufsize,