<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/25455">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">abis.c: Convert early return to assert()<br><br>This should simply not happen. If other event is received, something is<br>terribly wrong, so we should exit immediately instead of silently<br>failing.<br><br>Change-Id: I5f4953be735f526bb8b926979233b3c26ba67ce9<br>---<br>M src/common/abis.c<br>1 file changed, 1 insertion(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/55/25455/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/common/abis.c b/src/common/abis.c</span><br><span>index db0a648..d739b3a 100644</span><br><span>--- a/src/common/abis.c</span><br><span>+++ b/src/common/abis.c</span><br><span>@@ -201,8 +201,7 @@</span><br><span>  struct abis_link_fsm_priv *priv = fi->priv;</span><br><span>       struct gsm_bts *bts = priv->bts;</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- if (event != ABIS_LINK_EV_VTY_RM_ADDR)</span><br><span style="color: hsl(0, 100%, 40%);">-          return;</span><br><span style="color: hsl(120, 100%, 40%);">+       OSMO_ASSERT(event == ABIS_LINK_EV_VTY_RM_ADDR);</span><br><span> </span><br><span>  if (priv->bsc_oml_host == data) {</span><br><span>                 if (llist_count(&bts->bsc_oml_hosts) <= 1)</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/25455">change 25455</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-bts/+/25455"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bts </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I5f4953be735f526bb8b926979233b3c26ba67ce9 </div>
<div style="display:none"> Gerrit-Change-Number: 25455 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>