projects
/
mymail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cosmetics.
[mymail.git]
/
mymail.c
diff --git
a/mymail.c
b/mymail.c
index
dd84dbe
..
ffc5621
100644
(file)
--- a/
mymail.c
+++ b/
mymail.c
@@
-117,7
+117,7
@@
static struct parsable_field fields_to_parse[] = {
{
ID_FROM,
REG_ICASE,
{
ID_FROM,
REG_ICASE,
- "^\\(from
:\\|reply-to:\\|sender:\\|return-path:\\)
",
+ "^\\(from
\\|reply-to\\|sender\\|return-path\\):
",
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
},
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
},
@@
-292,7
+292,9
@@
int mbox_line_match_search(struct search_condition *condition,
(condition->field_id == ID_FROM && mbox_id == ID_LEADING_LINE)
)
(condition->field_id == ID_FROM && mbox_id == ID_LEADING_LINE)
)
+
&&
&&
+
regexec(&condition->regexp, mbox_value, 0, 0, 0) == 0;
}
}
regexec(&condition->regexp, mbox_value, 0, 0, 0) == 0;
}
}