From 9b8993efb48ccbe3df917338cc078129b5af495b Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Tue, 24 Aug 2010 11:19:22 +0200 Subject: elementary fixes to the named session --- src/zmq_init.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/zmq_init.cpp') diff --git a/src/zmq_init.cpp b/src/zmq_init.cpp index 68007a4..5bf6070 100644 --- a/src/zmq_init.cpp +++ b/src/zmq_init.cpp @@ -180,10 +180,8 @@ void zmq::zmq_init_t::finalise_initialisation () } // There's no such named session. We have to create one. -// TODO: -zmq_assert (false); -// session = new (std::nothrow) named_session_t (io_thread, socket, -// options, peer_identity); + session = new (std::nothrow) named_session_t (io_thread, socket, + options, peer_identity); zmq_assert (session); launch_sibling (session); engine->unplug (); -- cgit v1.2.3