diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-04-27 11:43:53 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-04-27 11:43:53 +0200 |
commit | 48c720bffc8de73cee654541927a9c0f63a2412b (patch) | |
tree | f71b17736e6f05c509f3c76719e4ee00abd24769 | |
parent | bf849e4bf053ba3eb83c6469dc158075d9a788ee (diff) |
sccp_user: Add missing 'break' statement
The missing break statement leads to an unintended fall-through which in
turn prints a wrong ERROR message.
Change-Id: I6618fa247b889d4162118278cd05dee85cf21899
Fixes: coverity CID#166948
-rw-r--r-- | src/sccp_user.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sccp_user.c b/src/sccp_user.c index d9e40b6..5f89f71 100644 --- a/src/sccp_user.c +++ b/src/sccp_user.c @@ -168,6 +168,7 @@ static int mtp_user_prim_cb(struct osmo_prim_hdr *oph, void *ctx) xua->mtp = omp->u.transfer; /* hand this primitive into SCCP via the SCRC code */ rc = scrc_rx_mtp_xfer_ind_xua(inst, xua); + break; default: LOGP(DLSCCP, LOGL_ERROR, "Unknown primitive %u:%u receivd\n", oph->primitive, oph->operation); |