Change in libosmo-sccp[master]: ss7: Return value from child function in osmo_ss7_xua_server_set_loca...

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Fri Jan 10 15:46:53 UTC 2020


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/16794 )


Change subject: ss7: Return value from child function in osmo_ss7_xua_server_set_local_host
......................................................................

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
---
M src/osmo_ss7.c
1 file changed, 1 insertion(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/94/16794/1

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 @@
 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

-- 
To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/16794
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: I24747578b3412b385c1ea1a14922f543f9023a27
Gerrit-Change-Number: 16794
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200110/31560121/attachment.htm>


More information about the gerrit-log mailing list