summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/session_base.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/session_base.cpp b/src/session_base.cpp
index e9dc623..be7d429 100644
--- a/src/session_base.cpp
+++ b/src/session_base.cpp
@@ -56,6 +56,7 @@ xs::session_base_t *xs::session_base_t::create (class io_thread_t *io_thread_,
case XS_XREQ:
s = new (std::nothrow) xreq_session_t (io_thread_, connect_,
socket_, options_, protocol_, address_);
+ break;
case XS_REP:
s = new (std::nothrow) rep_session_t (io_thread_, connect_,
socket_, options_, protocol_, address_);