[mutt] 16/17: 383769-score-match
Antonio Radici
antonio at moszumanska.debian.org
Sun Aug 28 15:32:57 UTC 2016
This is an automated email from the git hooks/post-receive script.
antonio pushed a commit to branch patch-queue/master
in repository mutt.
commit 51a117cfd3a3eae8c185a8867b492cea2d5fc496
Author: Antonio Radici <antonio at debian.org>
Date: Thu Feb 27 17:14:35 2014 +0100
383769-score-match
Better matching for ~f, same as mutt-ng did.
(see upstream http://bugs.mutt.org/2179)
Gbp-Pq: Topic upstream
Gbp-Pq: Name 383769-score-match.patch
---
score.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/score.c b/score.c
index 50e9cb8..dc7926c 100644
--- a/score.c
+++ b/score.c
@@ -133,7 +133,7 @@ void mutt_score_message (CONTEXT *ctx, HEADER *hdr, int upd_ctx)
hdr->score = 0; /* in case of re-scoring */
for (tmp = Score; tmp; tmp = tmp->next)
{
- if (mutt_pattern_exec (tmp->pat, 0, NULL, hdr) > 0)
+ if (mutt_pattern_exec (tmp->pat, M_MATCH_FULL_ADDRESS, NULL, hdr) > 0)
{
if (tmp->exact || tmp->val == 9999 || tmp->val == -9999)
{
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mutt/mutt.git
More information about the pkg-mutt-commits
mailing list