* net.cc (cygwin_gethostbyname): Show failing host name on error.
This commit is contained in:
parent
cbd6bc1407
commit
cb3f750c79
@ -1,3 +1,7 @@
|
|||||||
|
2004-08-11 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
|
* net.cc (cygwin_gethostbyname): Show failing host name on error.
|
||||||
|
|
||||||
2004-08-10 Christopher Faylor <cgf@redhat.com>
|
2004-08-10 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* select.cc (select_stuff::wait): Correctly check for w4 array bounds.
|
* select.cc (select_stuff::wait): Correctly check for w4 array bounds.
|
||||||
|
@ -967,6 +967,7 @@ cygwin_gethostbyname (const char *name)
|
|||||||
is_hostent);
|
is_hostent);
|
||||||
if (!_my_tls.locals.hostent_buf)
|
if (!_my_tls.locals.hostent_buf)
|
||||||
{
|
{
|
||||||
|
debug_printf ("name %s", name);
|
||||||
set_winsock_errno ();
|
set_winsock_errno ();
|
||||||
set_host_errno ();
|
set_host_errno ();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user