fix connection establishment for AF_UNIX sockets

This commit is contained in:
Martin Hurton 2012-03-20 18:54:17 +01:00
parent 60e45f34b6
commit 0a6fc02702

View File

@ -128,7 +128,7 @@ void zmq::ipc_connecter_t::start_connecting ()
}
// Connection establishment may be delayed. Poll for its completion.
else if (rc == -1 && errno == EAGAIN) {
else if (rc == -1 && errno == EINPROGRESS) {
handle = add_fd (s);
handle_valid = true;
set_pollout (handle);