X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=handler.c;h=0f37639659b29a82e45fdcae79361e84262e156c;hp=cc0a3c1184e433ec28aa766acf929119ad629c41;hb=6790552986464d9ad4be03f361a332441b0f08eb;hpb=7b392ef7b50798f9eb3e7c869e634c5fef0092d1 diff --git a/handler.c b/handler.c index cc0a3c1..0f37639 100644 --- a/handler.c +++ b/handler.c @@ -1083,7 +1083,7 @@ static int autoview_handler (BODY * a, STATE * s) mutt_copy_bytes (s->fpin, fpin, a->length); if (!piped) { - safe_fclose (&fpin); + m_fclose(&fpin); thepid = mutt_create_filter (command, NULL, &fpout, &fperr); } else { @@ -1140,12 +1140,12 @@ static int autoview_handler (BODY * a, STATE * s) } bail: - safe_fclose (&fpout); - safe_fclose (&fperr); + m_fclose(&fpout); + m_fclose(&fperr); mutt_wait_filter (thepid); if (piped) - safe_fclose (&fpin); + m_fclose(&fpin); else mutt_unlink (tempfile);