projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of pan:/git/madmutt
[apps/madmutt.git]
/
score.c
diff --git
a/score.c
b/score.c
index
ba00a3c
..
1826a95
100644
(file)
--- a/
score.c
+++ b/
score.c
@@
-11,6
+11,7
@@
#include "mutt.h"
#include "sort.h"
#include "mutt.h"
#include "sort.h"
+#include "pattern.h"
typedef struct score_t {
char *str;
typedef struct score_t {
char *str;
@@
-133,7
+134,7
@@
int mutt_parse_unscore (BUFFER * buf, BUFFER * s,
for (tmp = Score; tmp;) {
last = tmp;
tmp = tmp->next;
for (tmp = Score; tmp;) {
last = tmp;
tmp = tmp->next;
-
mutt_pattern_free
(&last->pat);
+
pattern_list_wipe
(&last->pat);
p_delete(&last);
}
Score = NULL;
p_delete(&last);
}
Score = NULL;
@@
-145,7
+146,7
@@
int mutt_parse_unscore (BUFFER * buf, BUFFER * s,
last->next = tmp->next;
else
Score = tmp->next;
last->next = tmp->next;
else
Score = tmp->next;
-
mutt_pattern_free
(&tmp->pat);
+
pattern_list_wipe
(&tmp->pat);
p_delete(&tmp);
/* there should only be one score per pattern, so we can stop here */
break;
p_delete(&tmp);
/* there should only be one score per pattern, so we can stop here */
break;