<p>ipse has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/18263">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">bsc_vty: Coding style fix - brackets around a complex if/else<br><br>Change-Id: I771ef866aba6af9e2a10a06e593eef78b7405377<br>---<br>M src/osmo-bsc/bsc_vty.c<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/63/18263/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo-bsc/bsc_vty.c b/src/osmo-bsc/bsc_vty.c</span><br><span>index 83a7e2a..d699cf7 100644</span><br><span>--- a/src/osmo-bsc/bsc_vty.c</span><br><span>+++ b/src/osmo-bsc/bsc_vty.c</span><br><span>@@ -5007,9 +5007,9 @@</span><br><span>           return CMD_WARNING;</span><br><span> </span><br><span>      if (!strcmp(argv[4], "borken")) {</span><br><span style="color: hsl(0, 100%, 40%);">-             if (lchan->fi->state == LCHAN_ST_UNUSED)</span><br><span style="color: hsl(120, 100%, 40%);">+                if (lchan->fi->state == LCHAN_ST_UNUSED) {</span><br><span>                     osmo_fsm_inst_state_chg(lchan->fi, LCHAN_ST_BORKEN, 0, 0);</span><br><span style="color: hsl(0, 100%, 40%);">-           else {</span><br><span style="color: hsl(120, 100%, 40%);">+                } else {</span><br><span>                     vty_out(vty,</span><br><span>                                 "%% lchan is in state %s, only lchans that are in state %s may be moved to state %s manually%s",</span><br><span>                           osmo_fsm_state_name(lchan->fi->fsm, lchan->fi->state),</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/18263">change 18263</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-bsc/+/18263"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I771ef866aba6af9e2a10a06e593eef78b7405377 </div>
<div style="display:none"> Gerrit-Change-Number: 18263 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: ipse <Alexander.Chemeris@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>