X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=copy.c;h=b265b66f69fa6bb8cfd5b2c81546f45441a21624;hp=2d205de037679b6bc9a8f402b0e36f2387ea2f37;hb=eed5352e46df93f8921d2e6dfdc95b027bad6e1e;hpb=7f7a0be369840b290248e5b0302beb447fa1b3cd diff --git a/copy.c b/copy.c index 2d205de..b265b66 100644 --- a/copy.c +++ b/copy.c @@ -13,9 +13,9 @@ #include #include +#include #include "mutt.h" -#include "ascii.h" #include "handler.h" #include "mx.h" #include "copy.h" @@ -603,7 +603,7 @@ _mutt_copy_message (FILE * fpout, FILE * fpin, HEADER * hdr, BODY * body, if (flags & M_CM_DECODE) { /* now make a text/plain version of the message */ - memset (&s, 0, sizeof (STATE)); + p_clear(&s, 1); s.fpin = fpin; s.fpout = fpout; if (flags & M_CM_PREFIX)