bugfix for headers matching
This commit is contained in:
parent
8c8d18447d
commit
43ecb85aa3
1 changed files with 2 additions and 0 deletions
|
@ -694,6 +694,8 @@ static gboolean matcherprop_match_one_header(MatcherProp * matcher,
|
||||||
case MATCHING_HEADER:
|
case MATCHING_HEADER:
|
||||||
case MATCHING_NOT_HEADER:
|
case MATCHING_NOT_HEADER:
|
||||||
header = procheader_parse_header(buf);
|
header = procheader_parse_header(buf);
|
||||||
|
if (!header)
|
||||||
|
return FALSE;
|
||||||
if (procheader_headername_equal(header->name,
|
if (procheader_headername_equal(header->name,
|
||||||
matcher->header)) {
|
matcher->header)) {
|
||||||
if (matcher->criteria == MATCHING_HEADER)
|
if (matcher->criteria == MATCHING_HEADER)
|
||||||
|
|
Loading…
Reference in a new issue