Unverified Commit d882e807 authored by Luca Boccassi's avatar Luca Boccassi Committed by GitHub

Merge pull request #3876 from somdoron/HELLO_MSG

problem: checking the wrong socket when sending hello msg
parents 08d94d0e 6ca07a30
...@@ -862,7 +862,7 @@ int zmq::socket_base_t::connect_internal (const char *endpoint_uri_) ...@@ -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 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) { && peer.options.hello_msg.size () > 0) {
send_hello_msg (new_pipes[1], peer.options); 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