X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=commands.c;h=3bf5de5a8f7e07d8c452b6d8c12e5e12c2b35901;hp=9475e384b7df66797beabc551ff93a126c8e5ec2;hb=7ff4900e87f7b836b9b5904b420f2818e390a073;hpb=a8477ebaa09990b3688164cbe5cf661c4189541d diff --git a/commands.c b/commands.c index 9475e38..3bf5de5 100644 --- a/commands.c +++ b/commands.c @@ -13,6 +13,9 @@ #endif #include "mutt.h" +#include "enter.h" +#include "recvattach.h" +#include "ascii.h" #include "mutt_curses.h" #include "mutt_menu.h" #include "mime.h" @@ -262,7 +265,7 @@ void ci_bounce_message (HEADER * h, int *redraw) if (mutt_addrlist_to_idna (adr, &err) < 0) { mutt_error (_("Bad IDN: '%s'"), err); - FREE (&err); + mem_free (&err); rfc822_free_address (&adr); return; } @@ -570,7 +573,7 @@ void mutt_enter_command (void) err.dsize = sizeof (errbuf); memset (&token, 0, sizeof (token)); r = mutt_parse_rc_line (buffer, &token, &err); - FREE (&token.data); + mem_free (&token.data); if (errbuf[0]) { /* since errbuf could potentially contain printf() sequences in it, we must call mutt_error() in this fashion so that vsprintf() @@ -980,7 +983,7 @@ void mutt_edit_content_type (HEADER * h, BODY * b, FILE * fp) /* clean up previous junk */ mutt_free_parameter (&b->parameter); - FREE (&b->subtype); + mem_free (&b->subtype); mutt_parse_content_type (buf, b);