Change in osmo-bsc[master]: is_cm_service_for_emerg(): return false, not 0

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/.

neels gerrit-no-reply at lists.osmocom.org
Wed Jun 3 15:43:21 UTC 2020


neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/18650 )


Change subject: is_cm_service_for_emerg(): return false, not 0
......................................................................

is_cm_service_for_emerg(): return false, not 0

Change-Id: Ife25ed26214abf7aea95b0b7943d9fa585868529
---
M src/osmo-bsc/gsm_08_08.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/50/18650/1

diff --git a/src/osmo-bsc/gsm_08_08.c b/src/osmo-bsc/gsm_08_08.c
index 0765d1d..d8e33d6 100644
--- a/src/osmo-bsc/gsm_08_08.c
+++ b/src/osmo-bsc/gsm_08_08.c
@@ -112,7 +112,7 @@
 
 	if (msgb_l3len(msg) < sizeof(*gh) + sizeof(*cm)) {
 		LOGP(DMSC, LOGL_ERROR, "CM ServiceRequest does not fit.\n");
-		return 0;
+		return false;
 	}
 
 	cm = (struct gsm48_service_request *) &gh->data[0];

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/18650
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ife25ed26214abf7aea95b0b7943d9fa585868529
Gerrit-Change-Number: 18650
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200603/d9e48819/attachment.htm>


More information about the gerrit-log mailing list