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,