X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fimap%2Fimap_fetch.c;h=a7a4f3fd3cba6c10d0d42154cfe5de83dc1ce0c2;hb=e076ea2f997f76f596a7f59defbb0867bf08035a;hp=436a4b243857d8c6bcee53635911e00c45cc8a6b;hpb=95d07ef1f9c12eafbe107630716d248ebe3c1c38;p=citadel.git diff --git a/citadel/modules/imap/imap_fetch.c b/citadel/modules/imap/imap_fetch.c index 436a4b243..a7a4f3fd3 100644 --- a/citadel/modules/imap/imap_fetch.c +++ b/citadel/modules/imap/imap_fetch.c @@ -174,7 +174,7 @@ void imap_fetch_rfc822(long msgnum, char *whichfmt) { CC->redirect_len = 0; CC->redirect_alloc = SIZ; CtdlOutputMsg(msgnum, MT_RFC822, - (need_body ? HEADERS_ALL : HEADERS_ONLY), + (need_body ? HEADERS_ALL : HEADERS_FAST), 0, 1, NULL, 0); if (!need_body) cprintf("\r\n"); /* extra trailing newline */ IMAP->cached_rfc822_data = CC->redirect_buffer; @@ -663,7 +663,7 @@ void imap_fetch_body(long msgnum, char *item, int is_peek) { * fields, strip it down. */ else if (!strncasecmp(section, "HEADER", 6)) { - CtdlOutputPreLoadedMsg(msg, MT_RFC822, HEADERS_ONLY, 0, 1, 0); + CtdlOutputPreLoadedMsg(msg, MT_RFC822, HEADERS_FAST, 0, 1, 0); imap_strip_headers(section); }