From a1e70f29575994798df1d57314193782f6d9cdcb Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Tue, 2 Feb 2010 08:27:38 +0100 Subject: ZMQII-52: Asserion during reconnection --- src/zmq_init.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/zmq_init.cpp b/src/zmq_init.cpp index fe6aea2..37aafe6 100644 --- a/src/zmq_init.cpp +++ b/src/zmq_init.cpp @@ -118,8 +118,7 @@ class zmq::socket_base_t *zmq::zmq_init_t::get_owner () uint64_t zmq::zmq_init_t::get_ordinal () { - zmq_assert (false); - return 0; + return session_ordinal; } void zmq::zmq_init_t::process_plug () -- cgit v1.2.3