Don't try to parse empty lines.

This commit is contained in:
Themaister 2013-10-24 23:47:11 +02:00
parent be18db52e7
commit 4db766926f

View File

@ -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. :)