diff options
author | Christopher Faylor <me@cgf.cx> | 2004-08-11 18:34:32 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-08-11 18:34:32 +0000 |
commit | cb3f750c79135d2d4a903e61107349c3ec69e254 (patch) | |
tree | 77f983812ee9bb45a298944d1bdd1632f33f9207 /winsup/cygwin/net.cc | |
parent | cbd6bc14070f831596c0679e21da827f259fe464 (diff) | |
download | cygnal-cb3f750c79135d2d4a903e61107349c3ec69e254.tar.gz cygnal-cb3f750c79135d2d4a903e61107349c3ec69e254.tar.bz2 cygnal-cb3f750c79135d2d4a903e61107349c3ec69e254.zip |
* net.cc (cygwin_gethostbyname): Show failing host name on error.
Diffstat (limited to 'winsup/cygwin/net.cc')
-rw-r--r-- | winsup/cygwin/net.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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 (); } |