summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
}