From 11493ab8cfd302d1543f5b1f938000e08fd60aa7 Mon Sep 17 00:00:00 2001
From: Martin Sustrik <sustrik@250bpm.com>
Date: Mon, 19 Mar 2012 07:55:58 +0100
Subject: Small ommision in session creation mechanism

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
---
 src/session_base.cpp | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src')

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_);
-- 
cgit v1.2.3