From 0411bc159a054d03138303942acfd4adb6319276 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Sun, 3 Feb 2019 23:01:20 +0100 Subject: [PATCH] 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 --- src/socket_base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socket_base.cpp b/src/socket_base.cpp index d1f82eb9..c5c0c296 100644 --- a/src/socket_base.cpp +++ b/src/socket_base.cpp @@ -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 (session), newpipe); return 0; }