X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=alias.c;h=68afc256a0c64e24632a477113dbef4a91f6a6be;hp=907e743359fc710dd916fe28cab717848b458e10;hb=1686002dbeab07d5016dcc508aeee83a5bc2a179;hpb=230399f9632c37b66c1c117a17e8327eae6b3235 diff --git a/alias.c b/alias.c index 907e743..68afc25 100644 --- a/alias.c +++ b/alias.c @@ -25,13 +25,6 @@ * please see the file GPL in the top level source directory. */ -#if HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include - #include #include @@ -60,6 +53,8 @@ static struct mapping_t AliasHelp[] = { {NULL, OP_NULL} }; +static void mutt_alias_menu(char *, size_t, alias_t *); + const address_t *alias_lookup(const char *s) { alias_t *list; @@ -305,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); - fclose(rc); + m_fclose(&rc); mutt_message _("Alias added."); } else { mutt_perror(buf);