mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
src/connect.c: More verbose error message (tiny change)
This fixes Debian bug #144076.
This commit is contained in:
parent
5e3a760731
commit
87f4fee8c9
@ -366,7 +366,7 @@ connect_to_ip (const ip_address *ip, int port, const char *print)
|
|||||||
if (sock >= 0)
|
if (sock >= 0)
|
||||||
fd_close (sock);
|
fd_close (sock);
|
||||||
if (print)
|
if (print)
|
||||||
logprintf (LOG_VERBOSE, _("failed: %s.\n"), strerror (errno));
|
logprintf (LOG_NOTQUIET, _("failed: %s.\n"), strerror (errno));
|
||||||
errno = save_errno;
|
errno = save_errno;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user