Use Gnulib's quote function in convert.c.

This commit is contained in:
Steven Schubiger 2008-04-16 11:50:36 +02:00
parent cb2b31f052
commit 5116620aa8
2 changed files with 3 additions and 2 deletions

View 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>

View 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;
}