mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-13 14:45:38 +02:00
Revert "Problem: term "identity" is confusing"
This commit is contained in:
@@ -356,12 +356,12 @@ int zmq::session_base_t::zap_connect ()
|
||||
|
||||
send_bind (peer.socket, new_pipes [1], false);
|
||||
|
||||
// Send empty routing id if required by the peer.
|
||||
if (peer.options.recv_routing_id) {
|
||||
// Send empty identity if required by the peer.
|
||||
if (peer.options.recv_identity) {
|
||||
msg_t id;
|
||||
rc = id.init ();
|
||||
errno_assert (rc == 0);
|
||||
id.set_flags (msg_t::routing_id);
|
||||
id.set_flags (msg_t::identity);
|
||||
bool ok = zap_pipe->write (&id);
|
||||
zmq_assert (ok);
|
||||
zap_pipe->flush ();
|
||||
|
Reference in New Issue
Block a user