projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
score.c
diff --git
a/score.c
b/score.c
index
380283e
..
5d401dc
100644
(file)
--- a/
score.c
+++ b/
score.c
@@
-13,6
+13,7
@@
#include "mutt.h"
#include "sort.h"
#include "mutt.h"
#include "sort.h"
+#include "buffer.h"
#include "lib/mem.h"
#include "lib/intl.h"
#include "lib/mem.h"
#include "lib/intl.h"
@@
-109,7
+110,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) {
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) {
hdr->score = tmp->val;
break;
if (tmp->exact || tmp->val == 9999 || tmp->val == -9999) {
hdr->score = tmp->val;
break;