X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-mx%2Fmx.c;h=bd031179940dbf72542c05569294e66d91c9ea3b;hp=3d10313c4c13dd3533954165c6b7ffe96b287450;hb=b56ce930d3bf7721e286bea32ddaea376b90a34c;hpb=8476307969a605bea67f6b702b0c1e7a52038bed diff --git a/lib-mx/mx.c b/lib-mx/mx.c index 3d10313..bd03117 100644 --- a/lib-mx/mx.c +++ b/lib-mx/mx.c @@ -430,7 +430,7 @@ static int mx_open_mailbox_append (CONTEXT * ctx, int flags) mutt_perror (ctx->path); else { mutt_error (_("Couldn't lock %s\n"), ctx->path); - safe_fclose (&ctx->fp); + m_fclose(&ctx->fp); } return (-1); } @@ -568,7 +568,7 @@ void mx_fastclose_mailbox (CONTEXT * ctx) p_delete(&ctx->pattern); if (ctx->limit_pattern) mutt_pattern_free (&ctx->limit_pattern); - safe_fclose (&ctx->fp); + m_fclose(&ctx->fp); p_clear(ctx, 1); } @@ -1190,7 +1190,7 @@ int mx_close_message (MESSAGE ** msg) || (*msg)->magic == M_NNTP #endif ) { - r = safe_fclose (&(*msg)->fp); + r = m_fclose(&(*msg)->fp); } else (*msg)->fp = NULL;