Fix compile error on windows.

This commit is contained in:
Richard Newton 2013-08-08 17:27:49 +01:00
parent 749c391b34
commit e16a6af0c7

View File

@ -125,7 +125,7 @@ bool zmq::get_peer_ip_address (fd_t sockfd_, std::string &ip_addr_)
wsa_assert (WSAGetLastError () != WSANOTINITIALISED &&
WSAGetLastError () != WSAEFAULT &&
WSAGetLastError () != WSAEINPROGRESS &&
WSAGetLastError () != WSAENOTSOCK)
WSAGetLastError () != WSAENOTSOCK);
return false;
}
#else