mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
* 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>
|
||||
|
||||
* select.cc (select_stuff::wait): Correctly check for w4 array bounds.
|
||||
|
@ -967,6 +967,7 @@ cygwin_gethostbyname (const char *name)
|
||||
is_hostent);
|
||||
if (!_my_tls.locals.hostent_buf)
|
||||
{
|
||||
debug_printf ("name %s", name);
|
||||
set_winsock_errno ();
|
||||
set_host_errno ();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user