Skip adblock lines that are not handled
This commit is contained in:
parent
5193790004
commit
d3237c46ca
1 changed files with 3 additions and 0 deletions
|
@ -387,6 +387,9 @@ adblock_parse_file (gchar* path)
|
|||
gchar* parsed;
|
||||
|
||||
parsed = adblock_parse_line (line);
|
||||
if (!parsed)
|
||||
continue;
|
||||
|
||||
regex = g_regex_new (parsed, G_REGEX_OPTIMIZE,
|
||||
G_REGEX_MATCH_NOTEMPTY, &error);
|
||||
if (error)
|
||||
|
|
Loading…
Reference in a new issue