X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=parse.c;h=64b22f47a9c957875f145b7d89b9e0f0b61ffdae;hb=f044ea2a9cec83bdefd1fa423da658bb88291e5a;hp=a09d8dd522c0b3afe8831dcb505244c15bf69440;hpb=74a2265af51ce89bca845adc1d68f273c9933c13;p=apps%2Fmadmutt.git diff --git a/parse.c b/parse.c index a09d8dd..64b22f4 100644 --- a/parse.c +++ b/parse.c @@ -12,7 +12,6 @@ #endif #include "mutt.h" -#include "mutt_regex.h" #include "mailbox.h" #include "mime.h" #include "rfc2047.h" @@ -23,6 +22,7 @@ #include "lib/mem.h" #include "lib/intl.h" #include "lib/str.h" +#include "lib/rx.h" #include #include @@ -1351,7 +1351,7 @@ ENVELOPE *mutt_read_rfc822_header (FILE * f, HEADER * hdr, short user_hdrs, *buf = '\0'; if (mutt_match_spam_list (line, SpamList, buf, sizeof (buf))) { - if (!mutt_match_rx_list (line, NoSpamList)) { + if (!rx_list_match (NoSpamList, line)) { /* if spam tag already exists, figure out how to amend it */ if (e->spam && *buf) {