]> sjero.net Git - wget/commitdiff
Use Gnulib's quote function in log.c.
authorSteven Schubiger <schubiger@gmail.com>
Wed, 16 Apr 2008 10:16:37 +0000 (12:16 +0200)
committerSteven Schubiger <schubiger@gmail.com>
Wed, 16 Apr 2008 10:16:37 +0000 (12:16 +0200)
src/ChangeLog
src/log.c

index 3945b849508012d592dc8924bb8395e00f70af96..698fdb5061332256181a4a678423c2f4a4c2f05b 100644 (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>
 
index 078a7ac9d9c8d00ba7ba8f32b0d4bb6d97fd2d16..f7b3dca86086d3e2e5b9e843c50e308cc9569f6d 100644 (file)
--- a/src/log.c
+++ b/src/log.c
@@ -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 ();