summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.com>2009-09-16 15:26:49 +0200
committerMartin Sustrik <sustrik@fastmq.com>2009-09-16 15:26:49 +0200
commitf1c72d693e3bd252866a1f78e575493573eb57fe (patch)
tree35dbf4262ad093c191d9784d024ce420ed0f55ca
parenta71d00288008b7ed1dc91b6ad3d5fdf25a5e683e (diff)
ZMQII-4: Failure in dev/poll poller
-rw-r--r--src/zmq_connecter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zmq_connecter.cpp b/src/zmq_connecter.cpp
index fb147c0..28056b2 100644
--- a/src/zmq_connecter.cpp
+++ b/src/zmq_connecter.cpp
@@ -107,6 +107,8 @@ void zmq::zmq_connecter_t::start_connecting ()
// Connect may succeed in synchronous manner.
if (rc == 0) {
+ handle = add_fd (tcp_connecter.get_fd ());
+ handle_valid = true;
out_event ();
return;
}