X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=handler.c;h=59c70de211a1fce93d6f1be6f0d613e70f681e9e;hp=0f37639659b29a82e45fdcae79361e84262e156c;hb=a8a0d4c970a35774d8b21f530589371c1ee8c184;hpb=3766db5f849cea008b1cd3d532c712aeb17aa062 diff --git a/handler.c b/handler.c index 0f37639..59c70de 100644 --- a/handler.c +++ b/handler.c @@ -1415,7 +1415,7 @@ int mutt_body_handler (BODY * b, STATE * s) if (decode) { b->length = ftello (s->fpout); b->offset = 0; - fclose (s->fpout); + m_fclose(&s->fpout); /* restore final destination and substitute the tempfile for input */ s->fpout = fp; @@ -1439,7 +1439,7 @@ int mutt_body_handler (BODY * b, STATE * s) b->offset = tmpoffset; /* restore the original source stream */ - fclose (s->fpin); + m_fclose(&s->fpin); s->fpin = fp; } }