X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=compress.c;h=11d4fa404a011471869e08eeafe9df2491d600cc;hp=664196487efcaf5c4155177cb9f9577205942c30;hb=5088ef227c399f820df601a328ec85afaa732091;hpb=f2492164a0ccc27393ea071e6ddc43be0c9b28ad diff --git a/compress.c b/compress.c index 6641964..11d4fa4 100644 --- a/compress.c +++ b/compress.c @@ -309,7 +309,7 @@ int mutt_open_append_compressed (CONTEXT *ctx) if (!is_new (ctx->realpath)) if (ctx->magic == M_MBOX || ctx->magic == M_MMDF) - if ((fh = fopen (ctx->path, "w"))) + if ((fh = safe_fopen (ctx->path, "w"))) fclose (fh); /* No error checking - the parent function will catch it */