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/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-remsim/+/16366 )
Change subject: Check for osmo_fsm_register() error return value
......................................................................
Check for osmo_fsm_register() error return value
Change-Id: Idda1a4050cf9d285225ae48a4ba6f48c04f9598b
---
M src/bankd_client_fsm.c
M src/rspro_client_fsm.c
M src/server/rspro_server.c
3 files changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/66/16366/1
diff --git a/src/bankd_client_fsm.c b/src/bankd_client_fsm.c
index cedb597..2e3fdc9 100644
--- a/src/bankd_client_fsm.c
+++ b/src/bankd_client_fsm.c
@@ -271,5 +271,5 @@
static __attribute__((constructor)) void on_dso_load(void)
{
- osmo_fsm_register(&remsim_client_bankd_fsm);
+ OSMO_ASSERT(osmo_fsm_register(&remsim_client_bankd_fsm) == 0);
}
diff --git a/src/rspro_client_fsm.c b/src/rspro_client_fsm.c
index 45cd08e..c01a763 100644
--- a/src/rspro_client_fsm.c
+++ b/src/rspro_client_fsm.c
@@ -382,5 +382,5 @@
static __attribute__((constructor)) void on_dso_load(void)
{
- osmo_fsm_register(&rspro_client_server_fsm);
+ OSMO_ASSERT(osmo_fsm_register(&rspro_client_server_fsm) == 0);
}
diff --git a/src/server/rspro_server.c b/src/server/rspro_server.c
index c753f16..0d059fa 100644
--- a/src/server/rspro_server.c
+++ b/src/server/rspro_server.c
@@ -491,7 +491,7 @@
static __attribute__((constructor)) void on_dso_load(void)
{
- osmo_fsm_register(&remsim_server_client_fsm);
+ OSMO_ASSERT(osmo_fsm_register(&remsim_server_client_fsm) == 0);
}
--
To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/16366
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-Change-Id: Idda1a4050cf9d285225ae48a4ba6f48c04f9598b
Gerrit-Change-Number: 16366
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191201/ddc5144a/attachment.htm>