projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
oops, we don't need that. fix a regression in <esc>e
[apps/madmutt.git]
/
postpone.c
diff --git
a/postpone.c
b/postpone.c
index
4d34734
..
0d97216
100644
(file)
--- a/
postpone.c
+++ b/
postpone.c
@@
-29,7
+29,7
@@
#include "sort.h"
#include "thread.h"
#include "mx.h"
#include "sort.h"
#include "thread.h"
#include "mx.h"
-#include
"mutt_crypt.h"
+#include
<lib-crypt/crypt.h>
#include <imap/imap.h>
#include <imap/mx_imap.h>
#include <imap/imap.h>
#include <imap/mx_imap.h>
@@
-147,7
+147,7
@@
void mutt_update_num_postponed (void)
UpdateNumPostponed = 1;
}
UpdateNumPostponed = 1;
}
-static void post_entry (char *s, size_t slen, MUTTMENU * menu, int entry)
+static void post_entry (char *s, s
s
ize_t slen, MUTTMENU * menu, int entry)
{
CONTEXT *ctx = (CONTEXT *) menu->data;
{
CONTEXT *ctx = (CONTEXT *) menu->data;
@@
-541,7
+541,7
@@
int mutt_prepare_template (FILE * fp, CONTEXT * ctx, HEADER * newhdr,
|| b == NULL) {
err:
mx_close_message (&msg);
|| 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.");
mutt_free_body (&newhdr->content);
mutt_error _("Decryption failed.");
@@
-679,7
+679,7
@@
bail:
mx_close_message (&msg);
if (rv == -1) {
mx_close_message (&msg);
if (rv == -1) {
-
mutt_free_envelope
(&newhdr->env);
+
envelope_delete
(&newhdr->env);
mutt_free_body (&newhdr->content);
}
mutt_free_body (&newhdr->content);
}