mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Write percentages when the length is authoritative.
Published in <sxselujd8py.fsf@florida.arsdigita.de>.
This commit is contained in:
parent
ac7c8c1390
commit
38120f75ef
@ -1,3 +1,8 @@
|
|||||||
|
2001-04-21 Hrvoje Niksic <hniksic@arsdigita.com>
|
||||||
|
|
||||||
|
* ftp.c (getftp): Adjust expected_bytes if the length is
|
||||||
|
authoritative.
|
||||||
|
|
||||||
2001-04-14 Hrvoje Niksic <hniksic@arsdigita.com>
|
2001-04-14 Hrvoje Niksic <hniksic@arsdigita.com>
|
||||||
|
|
||||||
* url.c: Don't declare `construct'.
|
* url.c: Don't declare `construct'.
|
||||||
|
@ -860,6 +860,7 @@ Error in server response, closing control connection.\n"));
|
|||||||
if (restval)
|
if (restval)
|
||||||
logprintf (LOG_VERBOSE, _(" [%s to go]"), legible (*len - restval));
|
logprintf (LOG_VERBOSE, _(" [%s to go]"), legible (*len - restval));
|
||||||
logputs (LOG_VERBOSE, "\n");
|
logputs (LOG_VERBOSE, "\n");
|
||||||
|
expected_bytes = *len; /* for get_contents/show_progress */
|
||||||
}
|
}
|
||||||
else if (expected_bytes)
|
else if (expected_bytes)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user