]> code.citadel.org Git - citadel.git/blobdiff - citadel/imap_fetch.c
* MSG4 (and CtdlOutputMsg() as well) now accepts an optional MIME part
[citadel.git] / citadel / imap_fetch.c
index 5dc32135983dc5c1cbfd05286834682b440ba788..0e55b1a0facd1e9239ab719afc1aec16e93ffd88 100644 (file)
@@ -176,7 +176,7 @@ void imap_fetch_rfc822(long msgnum, char *whichfmt) {
                CC->redirect_alloc = SIZ;
                CtdlOutputMsg(msgnum, MT_RFC822,
                        (need_body ? HEADERS_ALL : HEADERS_ONLY),
-                       0, 1);
+                       0, 1, NULL);
                if (!need_body) cprintf("\r\n");        /* extra trailing newline */
                IMAP->cached_rfc822_data = CC->redirect_buffer;
                IMAP->cached_rfc822_len = CC->redirect_len;