X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=handler.c;h=ccb806947672cbcfb6ec77ef21d38c9f34a4075e;hp=666638b3cb4f05763673732b5aa50536802db4bf;hb=d5b8e82ca172f13bcb966dff6583f67d6ea41c7b;hpb=6833ce8bdca2d64e14485118f2a4417b7e1cb1b1 diff --git a/handler.c b/handler.c index 666638b..ccb8069 100644 --- a/handler.c +++ b/handler.c @@ -1897,7 +1897,7 @@ void mutt_body_handler (BODY *b, STATE *s) /* restore final destination and substitute the tempfile for input */ s->fpout = fp; fp = s->fpin; - s->fpin = fopen (tempfile, "r"); + s->fpin = safe_fopen (tempfile, "r"); unlink (tempfile); /* restore the prefix */