mirror of
https://github.com/libssh2/libssh2.git
synced 2025-11-21 14:00:51 +03:00
ENOTCONN obviously doesn't exist in win32 so don't try to map that
This commit is contained in:
@@ -57,10 +57,6 @@ static int wsa2errno(void)
|
||||
case WSAENOTSOCK:
|
||||
return EBADF;
|
||||
|
||||
case WSAENOTCONN:
|
||||
case WSAECONNABORTED:
|
||||
return ENOTCONN;
|
||||
|
||||
case WSAEINTR:
|
||||
return EINTR;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user