From: Steven Schubiger Date: Wed, 16 Apr 2008 09:45:14 +0000 (+0200) Subject: Use Gnulib's quote function in connect.c. X-Git-Tag: v1.13~421^2~12^2~28^2~35 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=cb2b31f0527d25d56a87eae791df3a10c25918af Use Gnulib's quote function in connect.c. --- diff --git a/src/ChangeLog b/src/ChangeLog index a4ce89cd..c99218f6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -2,6 +2,7 @@ * ftp.c: Use Gnulib's quote function for printing filenames and such. + * connect.c: Likewise. 2008-04-16 Steven Schubiger diff --git a/src/connect.c b/src/connect.c index 2be764d4..2626ef32 100644 --- a/src/connect.c +++ b/src/connect.c @@ -195,8 +195,8 @@ resolve_bind_address (struct sockaddr *sa) { /* #### We should be able to print the error message here. */ logprintf (LOG_NOTQUIET, - _("%s: unable to resolve bind address `%s'; disabling bind.\n"), - exec_name, opt.bind_address); + _("%s: unable to resolve bind address %s; disabling bind.\n"), + exec_name, quote (opt.bind_address)); should_bind = false; return false; } @@ -366,8 +366,8 @@ connect_to_host (const char *host, int port) if (!al) { logprintf (LOG_NOTQUIET, - _("%s: unable to resolve host address `%s'\n"), - exec_name, host); + _("%s: unable to resolve host address %s\n"), + exec_name, quote (host)); return E_HOST; }