summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/net.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/net.cc')
-rw-r--r--winsup/cygwin/net.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc
index 472e97c3e..3fee9eb91 100644
--- a/winsup/cygwin/net.cc
+++ b/winsup/cygwin/net.cc
@@ -946,7 +946,6 @@ cygwin_gethostname (char *name, size_t len)
}
}
debug_printf ("name %s", name);
- h_errno = 0;
return 0;
}
@@ -996,7 +995,6 @@ cygwin_gethostbyname (const char *name)
else
{
debug_printf ("h_name %s", _my_tls.locals.hostent_buf->h_name);
- h_errno = 0;
}
return _my_tls.locals.hostent_buf;
}
@@ -1020,7 +1018,6 @@ cygwin_gethostbyaddr (const char *addr, int len, int type)
else
{
debug_printf ("h_name %s", _my_tls.locals.hostent_buf->h_name);
- h_errno = 0;
}
return _my_tls.locals.hostent_buf;
}