X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=imap%2Fmessage.c;h=1871be3b79d1160b02538e53910f4534b74ca168;hp=476f43aad91f1ec82f715586241b850c7201bf39;hb=19806c1ee3019ddf9facf23eb19a13c128abfba9;hpb=9946738a6a1c27a5602a14d1afe2eea2389732b2 diff --git a/imap/message.c b/imap/message.c index 476f43a..1871be3 100644 --- a/imap/message.c +++ b/imap/message.c @@ -12,7 +12,7 @@ #include -#include +#include #include #include @@ -96,7 +96,7 @@ int imap_read_headers (IMAP_DATA * idata, int msgbegin, int msgend) idata->newMailCount = 0; #ifdef USE_HCACHE - if ((hc = mutt_hcache_open (HeaderCache, ctx->path))) { + if ((hc = mutt_hcache_open(ctx->path))) { snprintf (buf, sizeof (buf), "FETCH %d:%d (UID FLAGS)", msgbegin + 1, msgend + 1); @@ -384,7 +384,7 @@ int imap_fetch_message (MESSAGE * msg, CONTEXT * ctx, int msgno) snprintf (buf, sizeof (buf), "UID FETCH %u %s", HEADER_DATA (h)->uid, (mutt_bit_isset (idata->capabilities, IMAP4REV1) ? - (option (OPTIMAPPEEK) ? "BODY.PEEK[]" : "BODY[]") : "RFC822")); + "BODY.PEEK[]" : "RFC822")); imap_cmd_start (idata, buf); do {