Fixed issue #334

This commit is contained in:
Martin Hurton 2012-03-25 20:06:06 +02:00
parent 6d776d0865
commit 00b4571bf1

View File

@ -57,6 +57,7 @@ zmq::session_base_t *zmq::session_base_t::create (class io_thread_t *io_thread_,
case ZMQ_DEALER:
s = new (std::nothrow) dealer_session_t (io_thread_, connect_,
socket_, options_, addr_);
break;
case ZMQ_REP:
s = new (std::nothrow) rep_session_t (io_thread_, connect_,
socket_, options_, addr_);