projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make mutt_match_spam_list a generic rx function: rx_list_match2 that does
[apps/madmutt.git]
/
alias.c
diff --git
a/alias.c
b/alias.c
index
70b3331
..
68afc25
100644
(file)
--- a/
alias.c
+++ b/
alias.c
@@
-53,6
+53,8
@@
static struct mapping_t AliasHelp[] = {
{NULL, OP_NULL}
};
{NULL, OP_NULL}
};
+static void mutt_alias_menu(char *, size_t, alias_t *);
+
const address_t *alias_lookup(const char *s)
{
alias_t *list;
const address_t *alias_lookup(const char *s)
{
alias_t *list;
@@
-298,7
+300,7
@@
void mutt_create_alias(ENVELOPE *cur, address_t *iadr)
buf[0] = '\0';
rfc822_write_address(buf, sizeof(buf), new->addr, 0);
write_safe_address(rc, buf);
buf[0] = '\0';
rfc822_write_address(buf, sizeof(buf), new->addr, 0);
write_safe_address(rc, buf);
-
fclose(
rc);
+
m_fclose(&
rc);
mutt_message _("Alias added.");
} else {
mutt_perror(buf);
mutt_message _("Alias added.");
} else {
mutt_perror(buf);