mirror of
https://github.com/mirror/wget.git
synced 2025-01-22 10:10:27 +08:00
Merge.
This commit is contained in:
commit
4092d7eedc
@ -4,6 +4,12 @@
|
|||||||
debug-mode. I.e. NULL isn't legal. But the "CONOUT$" device works
|
debug-mode. I.e. NULL isn't legal. But the "CONOUT$" device works
|
||||||
fine.
|
fine.
|
||||||
|
|
||||||
|
2009-02-27 Steven Schubiger <stsc@member.fsf.org>
|
||||||
|
|
||||||
|
* ftp.c (ftp_loop_internal): Don't claim for FTP retrievals
|
||||||
|
when writing to standard output either that the document
|
||||||
|
has been saved. Addresses bug #20520 again.
|
||||||
|
|
||||||
2009-02-21 Steven Schubiger <stsc@member.fsf.org>
|
2009-02-21 Steven Schubiger <stsc@member.fsf.org>
|
||||||
|
|
||||||
* http.c (http_loop): When a document is written to
|
* http.c (http_loop): When a document is written to
|
||||||
|
13
src/ftp.c
13
src/ftp.c
@ -1275,8 +1275,17 @@ ftp_loop_internal (struct url *u, struct fileinfo *f, ccon *con)
|
|||||||
con->csock = -1;
|
con->csock = -1;
|
||||||
}
|
}
|
||||||
if (!opt.spider)
|
if (!opt.spider)
|
||||||
logprintf (LOG_VERBOSE, _("%s (%s) - %s saved [%s]\n\n"),
|
{
|
||||||
tms, tmrate, quote (locf), number_to_static_string (len));
|
bool write_to_stdout = (opt.output_document && HYPHENP (opt.output_document));
|
||||||
|
|
||||||
|
logprintf (LOG_VERBOSE,
|
||||||
|
write_to_stdout
|
||||||
|
? _("%s (%s) - written to stdout %s[%s]\n\n")
|
||||||
|
: _("%s (%s) - %s saved [%s]\n\n"),
|
||||||
|
tms, tmrate,
|
||||||
|
write_to_stdout ? "" : quote (locf),
|
||||||
|
number_to_static_string (len));
|
||||||
|
}
|
||||||
if (!opt.verbose && !opt.quiet)
|
if (!opt.verbose && !opt.quiet)
|
||||||
{
|
{
|
||||||
/* Need to hide the password from the URL. The `if' is here
|
/* Need to hide the password from the URL. The `if' is here
|
||||||
|
Loading…
Reference in New Issue
Block a user