X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fhost.c;h=1226a274397c145908351fc40fc3dcfdf2414204;hp=fb8158e5035570c861f3e2dbda94dcf80df512dc;hb=9a2ea3938d09643c6528c3b83b1db4c30f47d981;hpb=6c6e838338c31f1ac3c57c71e4ac34c0401bdf86 diff --git a/src/host.c b/src/host.c index fb8158e5..1226a274 100644 --- a/src/host.c +++ b/src/host.c @@ -716,7 +716,7 @@ lookup_host (const char *host, int flags) { char *str = NULL, *name; - if (opt.enable_iri && (name = idn_decode (host)) != NULL) + if (opt.enable_iri && (name = idn_decode ((char *) host)) != NULL) { int len = strlen (host) + strlen (name) + 4; str = xmalloc (len); @@ -725,7 +725,7 @@ lookup_host (const char *host, int flags) xfree (name); } - logprintf (LOG_VERBOSE, _("Resolving %s... "), + logprintf (LOG_VERBOSE, _("Resolving %s... "), quotearg_style (escape_quoting_style, str ? str : host)); if (str)