diff options
Diffstat (limited to 'src/zmq_connecter.cpp')
-rw-r--r-- | src/zmq_connecter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zmq_connecter.cpp b/src/zmq_connecter.cpp index 1ab4a14..be88bff 100644 --- a/src/zmq_connecter.cpp +++ b/src/zmq_connecter.cpp @@ -100,7 +100,7 @@ void zmq::zmq_connecter_t::start_connecting () } // Connection establishment may be dealyed. Poll for its completion. - else if (rc == -1 && errno == EINPROGRESS) { + else if (rc == -1 && errno == EAGAIN) { handle = add_fd (tcp_connecter.get_fd ()); handle_valid = true; set_pollout (handle); |