X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Fconnect.c;h=361eb56b787291f4d84038270cfe3c79ba42ce75;hb=76780021d822779f839bbf85883292e15eb3f587;hp=2be764d41c2356f0302eafd41fadd8153c386ceb;hpb=1db9f1e9acb901b14bf64fc126a6662ebcf6cd75;p=wget diff --git a/src/connect.c b/src/connect.c index 2be764d4..361eb56b 100644 --- a/src/connect.c +++ b/src/connect.c @@ -28,6 +28,8 @@ Corresponding Source for a non-source form of such a combination shall include the source code for the parts of OpenSSL used as well as that of the covered work. */ +#define USE_GNULIB_ALLOC + #include "wget.h" #include @@ -195,8 +197,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 +368,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; }