Commit 0411bc15 authored by Luca Boccassi's avatar Luca Boccassi

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
parent c28cbf76
...@@ -979,7 +979,7 @@ int zmq::socket_base_t::connect (const char *endpoint_uri_) ...@@ -979,7 +979,7 @@ int zmq::socket_base_t::connect (const char *endpoint_uri_)
// Save last endpoint URI // Save last endpoint URI
paddr->to_string (_last_endpoint); 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); static_cast<own_t *> (session), newpipe);
return 0; return 0;
} }
......
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