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

index c99218f66c743836d9f7a446c930358a6ad1c662..0dfd14d478ffdc85af93698baea07f8c12b60843 100644 (file)
@@ -3,6 +3,7 @@
        * ftp.c: Use Gnulib's quote function for printing filenames and
        such.
        * connect.c: Likewise.
+       * convert.c: Likewise.
 
 2008-04-16  Steven Schubiger  <schubiger@gmail.com>
 
index 2811bff7e5d6553d64bca52f2aa238aa900183f1..69d713f812d1d68e31cb343d936f876bcf512c0d 100644 (file)
@@ -230,8 +230,8 @@ convert_links (const char *file, struct urlpos *links)
      zeroes from the mmaped region.  */
   if (unlink (file) < 0 && errno != ENOENT)
     {
-      logprintf (LOG_NOTQUIET, _("Unable to delete `%s': %s\n"),
-                 file, strerror (errno));
+      logprintf (LOG_NOTQUIET, _("Unable to delete %s: %s\n"),
+                 quote (file), strerror (errno));
       read_file_free (fm);
       return;
     }