mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-02 20:30:14 +01:00
Error handling for accept on Cygwin fixed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
parent
5444064c1a
commit
590ad2510b
@ -310,7 +310,8 @@ zmq::fd_t zmq::tcp_listener_t::accept ()
|
||||
|
||||
#if (defined ZMQ_HAVE_LINUX || defined ZMQ_HAVE_FREEBSD || \
|
||||
defined ZMQ_HAVE_OPENBSD || defined ZMQ_HAVE_OSX || \
|
||||
defined ZMQ_HAVE_OPENVMS || defined ZMQ_HAVE_NETBSD)
|
||||
defined ZMQ_HAVE_OPENVMS || defined ZMQ_HAVE_NETBSD || \
|
||||
defined ZMQ_HAVE_CYGWIN)
|
||||
if (sock == -1 &&
|
||||
(errno == EAGAIN || errno == EWOULDBLOCK ||
|
||||
errno == EINTR || errno == ECONNABORTED))
|
||||
|
Loading…
x
Reference in New Issue
Block a user