aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2020-06-03 17:42:48 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2020-06-03 17:42:57 +0200
commitc1a73302c275244c93a5185f5c1d2547d91d9b16 (patch)
tree10aeac68f6d33cce429e72b2db9dd7ba5a60f9e2
parent6aa666024b5feb32ec2e9768b9382e2cc543e6bd (diff)
is_cm_service_for_emerg(): return false, not 0
-rw-r--r--src/osmo-bsc/gsm_08_08.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bsc/gsm_08_08.c b/src/osmo-bsc/gsm_08_08.c
index 0765d1db1..d8e33d638 100644
--- a/src/osmo-bsc/gsm_08_08.c
+++ b/src/osmo-bsc/gsm_08_08.c
@@ -112,7 +112,7 @@ static bool is_cm_service_for_emerg(struct msgb *msg)
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];