summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tcp_listener.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcp_listener.cpp b/src/tcp_listener.cpp
index bcb9a37..a5c6513 100644
--- a/src/tcp_listener.cpp
+++ b/src/tcp_listener.cpp
@@ -183,7 +183,7 @@ zmq::fd_t zmq::tcp_listener_t::accept ()
zmq_assert (s != retired_fd);
fd_t sock = ::accept (s, NULL, NULL);
#ifdef ZMQ_HAVE_WINDOWS
- if (sock == INVALID_SOCKET)
+ if (sock == INVALID_SOCKET) {
wsa_assert (WSAGetLastError () == WSAEWOULDBLOCK ||
WSAGetLastError () == WSAECONNRESET);
return retired_fd;