From: hniksic Date: Sat, 8 Nov 2003 19:29:36 +0000 (-0800) Subject: [svn] Doc fix. X-Git-Tag: v1.13~1441 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=34a06b07b0b568a48ceae2ed45f0227520c91bc1 [svn] Doc fix. --- diff --git a/src/retr.c b/src/retr.c index 4d03fd4e..e177f7a5 100644 --- a/src/retr.c +++ b/src/retr.c @@ -233,13 +233,12 @@ get_contents (int fd, FILE *fp, long *len, long restval, long expected, waittm = (wtimer_read (timer) - last_successful_read_tm) / 1000; if (waittm + tmout > opt.read_timeout) { - /* Don't allow waiting for data to exceed read timeout. */ + /* Don't allow waiting time to exceed read timeout. */ tmout = opt.read_timeout - waittm; if (tmout < 0) { /* We've already exceeded the timeout. */ - res = -1; - errno = ETIMEDOUT; + res = -1, errno = ETIMEDOUT; break; } }