From: Giuseppe Scrivano Date: Wed, 14 Nov 2012 23:35:17 +0000 (+0100) Subject: Fix comment X-Git-Tag: v1.15~82 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=4f09a3118fdee91c174f9d885c00935073fd2c05 Fix comment --- diff --git a/src/ChangeLog b/src/ChangeLog index b7663aed..cba21135 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2012-11-15 Giuseppe Scrivano + + * retr.c (write_data): Fix comment. + 2012-11-13 Giuseppe Scrivano * retr.c (fd_read_body): Correctly check the return code from diff --git a/src/retr.c b/src/retr.c index 5bbae800..32dc41e2 100644 --- a/src/retr.c +++ b/src/retr.c @@ -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,