diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-01-10 13:47:15 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-01-13 12:27:13 +0100 |
commit | 3862b32fd1160e65cb80f58572287999925d8a03 (patch) | |
tree | 50b19c15aeb00a4d04d6e7c0c17e2336275b5447 | |
parent | ebf7fba8dd87f52346a4fc8cbc1d04568d40a6d9 (diff) |
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
-rw-r--r-- | src/osmo_ss7.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/osmo_ss7.c b/src/osmo_ss7.c index 1ca8b5e..ee762c4 100644 --- a/src/osmo_ss7.c +++ b/src/osmo_ss7.c @@ -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 |