git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@33 e385b8ad-14ed-0310-8656-cc95a2468c6d
[apps/madmutt.git] / handler.c
index 666638b..ccb8069 100644 (file)
--- 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 */