Use Gnulib's quote function in log.c.

This commit is contained in:
Steven Schubiger 2008-04-16 12:16:37 +02:00
parent f468a6eb80
commit b53c77dfc0
2 changed files with 3 additions and 2 deletions

View File

@ -8,6 +8,7 @@
* ftp-opie.c: Likewise.
* gnutls.c: Likewise.
* init.c: Likewise.
* log.c: Likewise.
2008-04-16 Steven Schubiger <schubiger@gmail.com>

View File

@ -781,8 +781,8 @@ redirect_output (void)
logfp = unique_create (DEFAULT_LOGFILE, false, &logfile);
if (logfp)
{
fprintf (stderr, _("\n%s received, redirecting output to `%s'.\n"),
redirect_request_signal_name, logfile);
fprintf (stderr, _("\n%s received, redirecting output to %s.\n"),
redirect_request_signal_name, quote (logfile));
xfree (logfile);
/* Dump the context output to the newly opened log. */
log_dump_context ();