diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-03-19 07:55:58 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-03-20 07:12:24 +0100 |
commit | 11493ab8cfd302d1543f5b1f938000e08fd60aa7 (patch) | |
tree | 6e536289496527a4a57618dcf6c360196569c40d | |
parent | 7ec84afe8a5eaece1de9e96e3a747895245c94b6 (diff) |
Small ommision in session creation mechanism
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-rw-r--r-- | src/session_base.cpp | 1 |
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_); |