X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mx.c;h=5b48ab85247e9df5083f1ff013c2ba3119674bb1;hp=28ba348763a127363298429c2a16552f1ea67452;hb=801f3f67bcbe19eb511eb879bbda531aeb1b76fc;hpb=b8c71f93b0296f815a6538182343ba67e88c0012 diff --git a/mx.c b/mx.c index 28ba348..5b48ab8 100644 --- a/mx.c +++ b/mx.c @@ -48,7 +48,7 @@ #include "dotlock.h" #endif -#include "mutt_crypt.h" +#include #include "lib/list.h" #include "lib/debug.h" @@ -592,7 +592,7 @@ void mx_fastclose_mailbox (CONTEXT * ctx) hash_destroy (&ctx->id_hash, NULL); mutt_clear_threads (ctx); for (i = 0; i < ctx->msgcount; i++) - mutt_free_header (&ctx->hdrs[i]); + header_delete(&ctx->hdrs[i]); p_delete(&ctx->hdrs); p_delete(&ctx->v2r); @@ -947,7 +947,7 @@ void mx_update_tables (CONTEXT * ctx, int committing) if (ctx->id_hash && ctx->hdrs[i]->env->message_id) hash_delete (ctx->id_hash, ctx->hdrs[i]->env->message_id, ctx->hdrs[i], NULL); - mutt_free_header (&ctx->hdrs[i]); + header_delete(&ctx->hdrs[i]); } } #undef this_body