is_cm_service_for_emerg(): return false, not 0

Change-Id: Ife25ed26214abf7aea95b0b7943d9fa585868529
This commit is contained in:
Neels Hofmeyr 2020-06-03 17:42:48 +02:00
parent 6aa666024b
commit c1a73302c2
1 changed files with 1 additions and 1 deletions

View File

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