From cb3f750c79135d2d4a903e61107349c3ec69e254 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 11 Aug 2004 18:34:32 +0000 Subject: * net.cc (cygwin_gethostbyname): Show failing host name on error. --- winsup/cygwin/net.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'winsup/cygwin/net.cc') diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc index b958e4365..ce1bf60e6 100644 --- a/winsup/cygwin/net.cc +++ b/winsup/cygwin/net.cc @@ -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 (); } -- cgit v1.2.3