mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-19 00:46:05 +01:00
Fix compile error on windows.
This commit is contained in:
parent
749c391b34
commit
e16a6af0c7
@ -125,7 +125,7 @@ bool zmq::get_peer_ip_address (fd_t sockfd_, std::string &ip_addr_)
|
|||||||
wsa_assert (WSAGetLastError () != WSANOTINITIALISED &&
|
wsa_assert (WSAGetLastError () != WSANOTINITIALISED &&
|
||||||
WSAGetLastError () != WSAEFAULT &&
|
WSAGetLastError () != WSAEFAULT &&
|
||||||
WSAGetLastError () != WSAEINPROGRESS &&
|
WSAGetLastError () != WSAEINPROGRESS &&
|
||||||
WSAGetLastError () != WSAENOTSOCK)
|
WSAGetLastError () != WSAENOTSOCK);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user