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:
parent
c28cbf76d1
commit
0411bc159a
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user