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]
/
alias.c
diff --git
a/alias.c
b/alias.c
index
a373877
..
f092a8c
100644
(file)
--- a/
alias.c
+++ b/
alias.c
@@
-12,10
+12,14
@@
#endif
#include "mutt.h"
#endif
#include "mutt.h"
-#include "mutt_regex.h"
#include "mutt_curses.h"
#include "mutt_idna.h"
#include "mutt_curses.h"
#include "mutt_idna.h"
+#include "lib/mem.h"
+#include "lib/intl.h"
+#include "lib/str.h"
+#include "lib/rx.h"
+
#include <string.h>
#include <ctype.h>
#include <string.h>
#include <ctype.h>
@@
-523,11
+527,11
@@
int mutt_addr_is_user (ADDRESS * addr)
return 1;
}
return 1;
}
- if (
mutt_match_rx_list (addr->mailbox, Alternates
)) {
+ if (
rx_list_match (Alternates, addr->mailbox
)) {
dprint (5,
(debugfile, "mail_addr_is_user: yes, %s matched by alternates.\n",
addr->mailbox));
dprint (5,
(debugfile, "mail_addr_is_user: yes, %s matched by alternates.\n",
addr->mailbox));
- if (
mutt_match_rx_list (addr->mailbox, UnAlternates
))
+ if (
rx_list_match (UnAlternates, addr->mailbox
))
dprint (5,
(debugfile,
"mail_addr_is_user: but, %s matched by unalternates.\n",
dprint (5,
(debugfile,
"mail_addr_is_user: but, %s matched by unalternates.\n",