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:
|
case WSAENOTSOCK:
|
||||||
return EBADF;
|
return EBADF;
|
||||||
|
|
||||||
case WSAENOTCONN:
|
|
||||||
case WSAECONNABORTED:
|
|
||||||
return ENOTCONN;
|
|
||||||
|
|
||||||
case WSAEINTR:
|
case WSAEINTR:
|
||||||
return EINTR;
|
return EINTR;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user