summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-02-02 08:27:38 +0100
committerMartin Sustrik <sustrik@250bpm.com>2010-02-02 08:27:38 +0100
commita1e70f29575994798df1d57314193782f6d9cdcb (patch)
tree390799a6d09caa77bb472994373c5927639b849b
parent528610ff55ef283b99cbcda007200a6b4092be59 (diff)
ZMQII-52: Asserion during reconnection
-rw-r--r--src/zmq_init.cpp3
1 files changed, 1 insertions, 2 deletions
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 ()