X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=postpone.c;h=d63c146caf314bc73c1c75da2913cbd05434665b;hp=eb62d22f12e2b4c2f1884b16f749a42c6598a07f;hb=21595f98b7c8132f99abb9fee60ecdce31fc980f;hpb=7f7a0be369840b290248e5b0302beb447fa1b3cd diff --git a/postpone.c b/postpone.c index eb62d22..d63c146 100644 --- a/postpone.c +++ b/postpone.c @@ -14,10 +14,10 @@ #include #include +#include #include #include "mutt.h" -#include "ascii.h" #include "enter.h" #include "handler.h" #include "mutt_menu.h" @@ -511,7 +511,7 @@ int mutt_prepare_template (FILE * fp, CONTEXT * ctx, HEADER * newhdr, int rv = -1; STATE s; - memset (&s, 0, sizeof (s)); + p_clear(&s, 1); if (!fp && (msg = mx_open_message (ctx, hdr->msgno)) == NULL) return (-1);