summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-08-04 07:44:35 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-08-04 07:44:35 +0200
commitbe48970977305a53de3ffa54cc51c0beabcf1a31 (patch)
treed88fa09e12e7e42a8aa1df7e8da4b913cdbfae52 /src
parentd5f3628ad08849a0c978f7d23dc678133ed33c42 (diff)
MSVC build brought up-to-date
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
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;