<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmo-sccp/+/16794">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">ss7: Return value from child function in osmo_ss7_xua_server_set_local_host<br><br>It doesn't really change old behavior since it's impossible the child<br>function returned an error with current implementation, but let's better<br>return the return code in case new error paths are added.<br><br>Change-Id: I24747578b3412b385c1ea1a14922f543f9023a27<br>---<br>M src/osmo_ss7.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/libosmo-sccp refs/changes/94/16794/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo_ss7.c b/src/osmo_ss7.c</span><br><span>index 1ca8b5e..ee762c4 100644</span><br><span>--- a/src/osmo_ss7.c</span><br><span>+++ b/src/osmo_ss7.c</span><br><span>@@ -1979,8 +1979,7 @@</span><br><span> int</span><br><span> osmo_ss7_xua_server_set_local_host(struct osmo_xua_server *xs, const char *local_host)</span><br><span> {</span><br><span style="color: hsl(0, 100%, 40%);">-       osmo_ss7_xua_server_set_local_hosts(xs, &local_host, 1);</span><br><span style="color: hsl(0, 100%, 40%);">-    return 0;</span><br><span style="color: hsl(120, 100%, 40%);">+     return osmo_ss7_xua_server_set_local_hosts(xs, &local_host, 1);</span><br><span> }</span><br><span> </span><br><span> int</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmo-sccp/+/16794">change 16794</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/libosmo-sccp/+/16794"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmo-sccp </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I24747578b3412b385c1ea1a14922f543f9023a27 </div>
<div style="display:none"> Gerrit-Change-Number: 16794 </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>