X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=compress.c;h=11d4fa404a011471869e08eeafe9df2491d600cc;hp=664196487efcaf5c4155177cb9f9577205942c30;hb=1d7238dc43311c4545883dc1151bf5b142d88c0b;hpb=ce2c6b74b93777c66708ef0cfb7cc14ff1bf6a94 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 */