Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #597 from kamalaboulhosn/master

Translate errno for EHOSTDOWN to WSAEHOSTDOWN
  • Loading branch information...
commit 9e3e69451a75eab2969940b53aa81e1b4ee1fde1 2 parents 6fc1c8d + d046ae0
Miguel de Icaza migueldeicaza authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  mono/io-layer/error.c
3  mono/io-layer/error.c
View
@@ -177,6 +177,9 @@ errno_to_WSA (guint32 code, const gchar *function_name)
#ifdef EDESTADDRREQ
case EDESTADDRREQ: result = WSAEDESTADDRREQ; break;
#endif
+#ifdef EHOSTDOWN
+ case EHOSTDOWN: result = WSAEHOSTDOWN; break;
+#endif
case ENODEV: result = WSAENETDOWN; break;
default:
sys_error = strerror (code);
Please sign in to comment.
Something went wrong with that request. Please try again.