mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Use Gnulib's quote function in connect.c.
This commit is contained in:
parent
6aec825b93
commit
cb2b31f052
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
* ftp.c: Use Gnulib's quote function for printing filenames and
|
* ftp.c: Use Gnulib's quote function for printing filenames and
|
||||||
such.
|
such.
|
||||||
|
* connect.c: Likewise.
|
||||||
|
|
||||||
2008-04-16 Steven Schubiger <schubiger@gmail.com>
|
2008-04-16 Steven Schubiger <schubiger@gmail.com>
|
||||||
|
|
||||||
|
@ -195,8 +195,8 @@ resolve_bind_address (struct sockaddr *sa)
|
|||||||
{
|
{
|
||||||
/* #### We should be able to print the error message here. */
|
/* #### We should be able to print the error message here. */
|
||||||
logprintf (LOG_NOTQUIET,
|
logprintf (LOG_NOTQUIET,
|
||||||
_("%s: unable to resolve bind address `%s'; disabling bind.\n"),
|
_("%s: unable to resolve bind address %s; disabling bind.\n"),
|
||||||
exec_name, opt.bind_address);
|
exec_name, quote (opt.bind_address));
|
||||||
should_bind = false;
|
should_bind = false;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -366,8 +366,8 @@ connect_to_host (const char *host, int port)
|
|||||||
if (!al)
|
if (!al)
|
||||||
{
|
{
|
||||||
logprintf (LOG_NOTQUIET,
|
logprintf (LOG_NOTQUIET,
|
||||||
_("%s: unable to resolve host address `%s'\n"),
|
_("%s: unable to resolve host address %s\n"),
|
||||||
exec_name, host);
|
exec_name, quote (host));
|
||||||
return E_HOST;
|
return E_HOST;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user