From 48c720bffc8de73cee654541927a9c0f63a2412b Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 27 Apr 2017 11:43:53 +0200 Subject: 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 --- src/sccp_user.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3