aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openbsc/src/libmsc/gsm_04_08.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsc/src/libmsc/gsm_04_08.c b/openbsc/src/libmsc/gsm_04_08.c
index c84cefcbe..f643472e7 100644
--- a/openbsc/src/libmsc/gsm_04_08.c
+++ b/openbsc/src/libmsc/gsm_04_08.c
@@ -314,8 +314,10 @@ static bool subscr_regexp_check(const struct gsm_network *net, const char *imsi)
static bool authorize_subscriber(struct gsm_loc_updating_operation *loc,
struct gsm_subscriber *subscriber)
{
- if (!subscriber)
+ if (!subscriber) {
+ LOGP(DMM, LOGL_DEBUG, "authorize_subscriber() on NULL subscriber\n");
return false;
+ }
/*
* Do not send accept yet as more information should arrive. Some