Fix: add missing break in switch for relayd create session
authorDavid Goulet <dgoulet@efficios.com>
Fri, 27 Sep 2013 19:46:59 +0000 (15:46 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Fri, 27 Sep 2013 22:28:16 +0000 (18:28 -0400)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/relayd/relayd.c

index 1f427e0e25cb8e1d2e502760294918be10a5172d..7c90b4d1a05a4e6fdc0d041288cd7fe21784b2d7 100644 (file)
@@ -184,10 +184,12 @@ int relayd_create_session(struct lttcomm_relayd_sock *rsock, uint64_t *session_i
                case 2:
                case 3:
                        ret = relayd_create_session_2_1(rsock, session_id);
+                       break;
                case 4:
                default:
                        ret = relayd_create_session_2_4(rsock, session_id, session_name,
                                        hostname, session_live_timer, snapshot);
+                       break;
        }
 
        if (ret < 0) {
This page took 0.026341 seconds and 4 git commands to generate.