summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-03-19 07:55:58 +0100
committerMartin Sustrik <sustrik@250bpm.com>2012-03-20 07:12:24 +0100
commit11493ab8cfd302d1543f5b1f938000e08fd60aa7 (patch)
tree6e536289496527a4a57618dcf6c360196569c40d
parent7ec84afe8a5eaece1de9e96e3a747895245c94b6 (diff)
Small ommision in session creation mechanism
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-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_);