mirror of
https://github.com/mirror/wget.git
synced 2025-01-24 03:10:07 +08:00
Use Gnulib's quote function in log.c.
This commit is contained in:
parent
f468a6eb80
commit
b53c77dfc0
@ -8,6 +8,7 @@
|
|||||||
* ftp-opie.c: Likewise.
|
* ftp-opie.c: Likewise.
|
||||||
* gnutls.c: Likewise.
|
* gnutls.c: Likewise.
|
||||||
* init.c: Likewise.
|
* init.c: Likewise.
|
||||||
|
* log.c: Likewise.
|
||||||
|
|
||||||
2008-04-16 Steven Schubiger <schubiger@gmail.com>
|
2008-04-16 Steven Schubiger <schubiger@gmail.com>
|
||||||
|
|
||||||
|
@ -781,8 +781,8 @@ redirect_output (void)
|
|||||||
logfp = unique_create (DEFAULT_LOGFILE, false, &logfile);
|
logfp = unique_create (DEFAULT_LOGFILE, false, &logfile);
|
||||||
if (logfp)
|
if (logfp)
|
||||||
{
|
{
|
||||||
fprintf (stderr, _("\n%s received, redirecting output to `%s'.\n"),
|
fprintf (stderr, _("\n%s received, redirecting output to %s.\n"),
|
||||||
redirect_request_signal_name, logfile);
|
redirect_request_signal_name, quote (logfile));
|
||||||
xfree (logfile);
|
xfree (logfile);
|
||||||
/* Dump the context output to the newly opened log. */
|
/* Dump the context output to the newly opened log. */
|
||||||
log_dump_context ();
|
log_dump_context ();
|
||||||
|
Loading…
Reference in New Issue
Block a user