ss7: Return value from child function in osmo_ss7_xua_server_set_local_host

It doesn't really change old behavior since it's impossible the child
function returned an error with current implementation, but let's better
return the return code in case new error paths are added.

Change-Id: I24747578b3412b385c1ea1a14922f543f9023a27
This commit is contained in:
Pau Espin 2020-01-10 13:47:15 +01:00
parent ebf7fba8dd
commit 3862b32fd1
1 changed files with 1 additions and 2 deletions

View File

@ -1979,8 +1979,7 @@ osmo_ss7_xua_server_bind(struct osmo_xua_server *xs)
int
osmo_ss7_xua_server_set_local_host(struct osmo_xua_server *xs, const char *local_host)
{
osmo_ss7_xua_server_set_local_hosts(xs, &local_host, 1);
return 0;
return osmo_ss7_xua_server_set_local_hosts(xs, &local_host, 1);
}
int