diff --git a/conf/config_file.c b/conf/config_file.c index df9113175b..71e4e339f8 100644 --- a/conf/config_file.c +++ b/conf/config_file.c @@ -267,6 +267,9 @@ static char *strip_comment(char *str) static bool parse_line(config_file_t *conf, struct config_entry_list *list, char *line) { + if (!*line) + return false; + char *comment = strip_comment(line); // Starting line with # and include includes config files. :)