mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] More specific error message in resolve_bind_address.
This commit is contained in:
parent
727e91a291
commit
5355da917f
@ -1,3 +1,9 @@
|
||||
2003-11-05 Hrvoje Niksic <hniksic@xemacs.org>
|
||||
|
||||
* connect.c (resolve_bind_address): Use a more accurate error
|
||||
message -- we're not binding to ANY, we're disabling bind
|
||||
altogether.
|
||||
|
||||
2003-11-05 Hrvoje Niksic <hniksic@xemacs.org>
|
||||
|
||||
* cookies.c (save_cookies_mapper): Respect the setting of
|
||||
|
@ -175,9 +175,10 @@ resolve_bind_address (const char *host, struct sockaddr *sa, int flags)
|
||||
al = lookup_host (host, flags | LH_SILENT | LH_PASSIVE);
|
||||
if (al == NULL)
|
||||
{
|
||||
/* #### We should print the error message here. */
|
||||
logprintf (LOG_NOTQUIET,
|
||||
_("Unable to convert `%s' to a bind address. Reverting to ANY.\n"),
|
||||
opt.bind_address);
|
||||
_("%s: unable to resolve bind address `%s'; disabling bind.\n"),
|
||||
exec_name, opt.bind_address);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user