From 73b2f5708f1f918bdf0f495ee8cc96df7035926a Mon Sep 17 00:00:00 2001 From: Alexandre Goujon Date: Fri, 2 Jul 2010 14:57:56 +0200 Subject: [PATCH] ws2_32: Add host unreachable case. --- dlls/ws2_32/socket.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c index 6254bba96be..4191f804881 100644 --- a/dlls/ws2_32/socket.c +++ b/dlls/ws2_32/socket.c @@ -615,6 +615,7 @@ static inline DWORD NtStatusToWSAError( const DWORD status ) case STATUS_CANT_WAIT: wserr = WSAEWOULDBLOCK; break; case STATUS_BUFFER_OVERFLOW: wserr = WSAEMSGSIZE; break; case STATUS_NOT_SUPPORTED: wserr = WSAEOPNOTSUPP; break; + case STATUS_HOST_UNREACHABLE: wserr = WSAEHOSTUNREACH; break; default: wserr = RtlNtStatusToDosError( status );