* net.cc (cygwin_gethostbyname): Show failing host name on error.
This commit is contained in:
		@@ -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 ();
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user