Commit c973c985 authored by Pieter Hintjens's avatar Pieter Hintjens

Merge pull request #1088 from olafmandel/WSAENOTSOCK

Fix failed assertion for WSAENOTSOCK
parents 668b2c4d ab5775fb
......@@ -245,7 +245,7 @@ int zmq::wsa_error_to_errno (int errcode)
return EAGAIN;
// 10038 - Socket operation on non-socket.
case WSAENOTSOCK:
return EFAULT;
return ENOTSOCK;
// 10039 - Destination address required.
case WSAEDESTADDRREQ:
return EFAULT;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment