potentially long-running sessions. Based on suggestions by Saso
Tomat <miskox@hotmail.com> and Steven M. Schweda
<sms@antinode.org>.
+ * http.c (gethttp): Warn about host lookup failures. Adjusted
+ from Stephen Gildea's patch.
+
+2007-10-02 Stephen Gildea <stepheng+wget@gildea.com>
+
+ * connect.c (connect_to_host): Warn about host lookup failures.
2007-09-25 Micah Cowan <micah@cowan.name>
retry:
if (!al)
- return E_HOST;
+ {
+ logprintf (LOG_NOTQUIET,
+ _("%s: unable to resolve host address `%s'\n"),
+ exec_name, host);
+ return E_HOST;
+ }
address_list_get_bounds (al, &start, &end);
for (i = start; i < end; i++)
if (host_lookup_failed)
{
request_free (req);
+ logprintf(LOG_NOTQUIET,
+ _("%s: unable to resolve host address `%s'\n"),
+ exec_name, relevant->host);
return HOSTERR;
}