From e16a6af0c7430ecc0efac674e75fe3f66b0f6ee5 Mon Sep 17 00:00:00 2001 From: Richard Newton Date: Thu, 8 Aug 2013 17:27:49 +0100 Subject: [PATCH] Fix compile error on windows. --- src/ip.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ip.cpp b/src/ip.cpp index 81466982..f5c9129c 100644 --- a/src/ip.cpp +++ b/src/ip.cpp @@ -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