X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-mx%2Fcompress.c;h=62a0815ad37b4b0eed0b1eff114a71ed1df821fb;hp=93a383d99d8a4bb65ef214241c27af171d11c339;hb=55de28a5bb96c3edfbb2a3b080356acbb44a3cc4;hpb=0ab517261694b001d2eb17f06f167a4cdd2c7c07 diff --git a/lib-mx/compress.c b/lib-mx/compress.c index 93a383d..62a0815 100644 --- a/lib-mx/compress.c +++ b/lib-mx/compress.c @@ -310,11 +310,7 @@ void mutt_fast_close_compressed (CONTEXT * ctx) m_fclose(&ctx->fp); /* if the folder was removed, remove the gzipped folder too */ - if (access (ctx->path, F_OK) != 0 && !option (OPTSAVEEMPTY)) - remove (ctx->realpath); - else - remove_file (ctx); - + remove_file (ctx); restore_path (ctx); p_delete(&ctx->cinfo); }