summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/logging.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/logging.c b/src/logging.c
index 35746e9b..b96e64a1 100644
--- a/src/logging.c
+++ b/src/logging.c
@@ -190,6 +190,7 @@ void log_parse_category_mask(struct log_target* target, const char *_mask)
target->categories[i].enabled = 0;
category_token = strtok(mask, ":");
+ OSMO_ASSERT(category_token);
do {
for (i = 0; i < osmo_log_info->num_cat; ++i) {
size_t length, cat_length;