From e0fd48c5ead4224dcfe2a245b1d4093c5a78bf81 Mon Sep 17 00:00:00 2001 From: Alexander Chemeris Date: Fri, 15 May 2020 00:23:05 +0300 Subject: [PATCH] bsc_vty: Coding style fix - brackets around a complex if/else Change-Id: I771ef866aba6af9e2a10a06e593eef78b7405377 --- src/osmo-bsc/bsc_vty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osmo-bsc/bsc_vty.c b/src/osmo-bsc/bsc_vty.c index 0fd462f33..30f685faa 100644 --- a/src/osmo-bsc/bsc_vty.c +++ b/src/osmo-bsc/bsc_vty.c @@ -5007,9 +5007,9 @@ DEFUN_HIDDEN(lchan_set_borken, lchan_set_borken_cmd, return CMD_WARNING; if (!strcmp(argv[4], "borken")) { - if (lchan->fi->state == LCHAN_ST_UNUSED) + if (lchan->fi->state == LCHAN_ST_UNUSED) { osmo_fsm_inst_state_chg(lchan->fi, LCHAN_ST_BORKEN, 0, 0); - else { + } else { vty_out(vty, "%% lchan is in state %s, only lchans that are in state %s may be moved to state %s manually%s", osmo_fsm_state_name(lchan->fi->fsm, lchan->fi->state),