diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/logging.c | 1 |
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; |