bsc_vty: Coding style fix - brackets around a complex if/else

Change-Id: I771ef866aba6af9e2a10a06e593eef78b7405377
This commit is contained in:
Alexander Chemeris 2020-05-15 00:23:05 +03:00
parent 6e06bd3915
commit e0fd48c5ea
1 changed files with 2 additions and 2 deletions

View File

@ -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),