summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormalosek <malosek@fastmq.com>2009-09-16 15:36:56 +0200
committermalosek <malosek@fastmq.com>2009-09-16 15:36:56 +0200
commit10dd8c53460a28849aacf7d2e24b63d7fae11ae0 (patch)
tree6dcee01c54fd8eae2c5fdba1362f74a10bf968e0 /src
parent03d494d4f074a8707274e6d5fd21ac6dca917344 (diff)
parentfc7715b4636be7a0d49f27234359ddfddce23f5b (diff)
Merge branch 'master' of git@github.com:sustrik/zeromq2
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;
}