projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c8d184
)
bugfix for headers matching
author
Hoà Viêt Dinh
<dinh.viet.hoa@free.fr>
Tue, 15 May 2001 11:13:35 +0000
(11:13 +0000)
committer
Hoà Viêt Dinh
<dinh.viet.hoa@free.fr>
Tue, 15 May 2001 11:13:35 +0000
(11:13 +0000)
src/matcher.c
patch
|
blob
|
history
diff --git
a/src/matcher.c
b/src/matcher.c
index 2743fdc3b4ff1a4feca777cf8a71ce667dbcfa25..afc0b1f538c74270cc86ade0e2e52328129ee8a8 100644
(file)
--- a/
src/matcher.c
+++ b/
src/matcher.c
@@
-694,6
+694,8
@@
static gboolean matcherprop_match_one_header(MatcherProp * matcher,
case MATCHING_HEADER:
case MATCHING_NOT_HEADER:
header = procheader_parse_header(buf);
+ if (!header)
+ return FALSE;
if (procheader_headername_equal(header->name,
matcher->header)) {
if (matcher->criteria == MATCHING_HEADER)