mirror of
https://github.com/mirror/wget.git
synced 2025-01-22 10:10:27 +08:00
* src/metalink.c (badhash_suffix): Fix quoting
This commit is contained in:
parent
943a6d585f
commit
e3fb4c3859
@ -566,7 +566,8 @@ badhash_suffix (char *name)
|
|||||||
bhash = concat_strings (name, ".badhash", (char *)0);
|
bhash = concat_strings (name, ".badhash", (char *)0);
|
||||||
uname = unique_name (bhash, false);
|
uname = unique_name (bhash, false);
|
||||||
|
|
||||||
logprintf (LOG_VERBOSE, _("Renaming ‘%s’ to ‘%s’.\n"), name, uname);
|
logprintf (LOG_VERBOSE, _("Renaming %s to %s.\n"),
|
||||||
|
quote_n (0, name), quote_n (1, uname));
|
||||||
|
|
||||||
if (link (name, uname))
|
if (link (name, uname))
|
||||||
logprintf (LOG_NOTQUIET, "link: %s\n", strerror (errno));
|
logprintf (LOG_NOTQUIET, "link: %s\n", strerror (errno));
|
||||||
|
Loading…
Reference in New Issue
Block a user