Commit 6ca07a30 authored by Doron Somech's avatar Doron Somech

problem: checking the wrong socket when sending hello msg

parent 2745ac31
......@@ -862,7 +862,7 @@ int zmq::socket_base_t::connect_internal (const char *endpoint_uri_)
}
// If set, send the hello msg of the peer to the local socket.
if (options.can_send_hello_msg
if (peer.options.can_send_hello_msg
&& peer.options.hello_msg.size () > 0) {
send_hello_msg (new_pipes[1], peer.options);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment