summaryrefslogtreecommitdiff
path: root/src/zmq_connecter.cpp
diff options
context:
space:
mode:
authorunknown <sustrik@.(none)>2009-09-07 15:41:43 +0200
committerunknown <sustrik@.(none)>2009-09-07 15:41:43 +0200
commitf895426c1885729f4a4a20b1eb543a92915aed85 (patch)
tree25655039b193371027107c33551239caa227bcfc /src/zmq_connecter.cpp
parent87ccbb9fae0f9234f82f9a9ec6a215f5e73209d3 (diff)
initial changes for win port
Diffstat (limited to 'src/zmq_connecter.cpp')
-rw-r--r--src/zmq_connecter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zmq_connecter.cpp b/src/zmq_connecter.cpp
index e4e7eea..d15566a 100644
--- a/src/zmq_connecter.cpp
+++ b/src/zmq_connecter.cpp
@@ -106,7 +106,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);