From 3862b32fd1160e65cb80f58572287999925d8a03 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Fri, 10 Jan 2020 13:47:15 +0100 Subject: 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 --- src/osmo_ss7.c | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3