Hans Leidekker : server: Map EHOSTUNREACH to STATUS_HOST_UNREACHABLE.

Alexandre Julliard julliard at winehq.org
Tue May 25 12:06:10 CDT 2010


Module: wine
Branch: master
Commit: 0a4984280fc6b6f455017d581cc7d5d5b7c7d3f4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0a4984280fc6b6f455017d581cc7d5d5b7c7d3f4

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Tue May 25 12:18:12 2010 +0200

server: Map EHOSTUNREACH to STATUS_HOST_UNREACHABLE.

---

 server/sock.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/server/sock.c b/server/sock.c
index 0c8cb54..9cd0fc2 100644
--- a/server/sock.c
+++ b/server/sock.c
@@ -817,6 +817,7 @@ static int sock_get_ntstatus( int err )
         case ENOTCONN:          return STATUS_CONNECTION_DISCONNECTED;
         case ETIMEDOUT:         return STATUS_IO_TIMEOUT;
         case ENETUNREACH:       return STATUS_NETWORK_UNREACHABLE;
+        case EHOSTUNREACH:      return STATUS_HOST_UNREACHABLE;
         case ENETDOWN:          return STATUS_NETWORK_BUSY;
         case EPIPE:
         case ECONNRESET:        return STATUS_CONNECTION_RESET;




More information about the wine-cvs mailing list