0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-28 16:15:23 +08:00

Problem: tipc disconnect does not work anymore

Solution: change back the indentifier endpoint to the one passed by the
user rather than the resolved one, otherwise when the user passes the
same string to the disconnect call they do not match anymore
This commit is contained in:
Luca Boccassi 2019-02-03 23:01:20 +01:00
parent c28cbf76d1
commit 0411bc159a

View File

@ -979,7 +979,7 @@ int zmq::socket_base_t::connect (const char *endpoint_uri_)
// Save last endpoint URI
paddr->to_string (_last_endpoint);
add_endpoint (make_unconnected_connect_endpoint_pair (_last_endpoint),
add_endpoint (make_unconnected_connect_endpoint_pair (endpoint_uri_),
static_cast<own_t *> (session), newpipe);
return 0;
}