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

[svn] Doc fix.

This commit is contained in:
hniksic 2003-11-08 11:29:36 -08:00
parent 3b8e1052cb
commit 34a06b07b0

View File

@ -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;
}
}