X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=postpone.c;h=1f5f0007d6c8034249c33f02f6cdb03bb27f10e5;hp=4d34734aac0dac7162afd00d5909b237208fd5aa;hb=ecfcc6df70230ba136c2fb3843700ecb749c41b7;hpb=b8c71f93b0296f815a6538182343ba67e88c0012 diff --git a/postpone.c b/postpone.c index 4d34734..1f5f000 100644 --- a/postpone.c +++ b/postpone.c @@ -21,15 +21,16 @@ #include +#include + #include "mutt.h" -#include "enter.h" #include "handler.h" #include "mutt_menu.h" #include "rfc1524.h" #include "sort.h" #include "thread.h" #include "mx.h" -#include "mutt_crypt.h" +#include #include #include @@ -147,7 +148,7 @@ void mutt_update_num_postponed (void) UpdateNumPostponed = 1; } -static void post_entry (char *s, size_t slen, MUTTMENU * menu, int entry) +static void post_entry (char *s, ssize_t slen, MUTTMENU * menu, int entry) { CONTEXT *ctx = (CONTEXT *) menu->data; @@ -541,7 +542,7 @@ int mutt_prepare_template (FILE * fp, CONTEXT * ctx, HEADER * newhdr, || b == NULL) { err: mx_close_message (&msg); - mutt_free_envelope (&newhdr->env); + envelope_delete(&newhdr->env); mutt_free_body (&newhdr->content); mutt_error _("Decryption failed."); @@ -679,7 +680,7 @@ bail: mx_close_message (&msg); if (rv == -1) { - mutt_free_envelope (&newhdr->env); + envelope_delete(&newhdr->env); mutt_free_body (&newhdr->content); }