X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fimap%2Fimap_fetch.c;fp=citadel%2Fmodules%2Fimap%2Fimap_fetch.c;h=c9d9c0d6bd23b7d9949bc6a56be0a7660970e391;hb=7f9d699a7f73ac27bcbde2075a8758744036fb98;hp=293fecca019eec5c160b7c7531a63cfd4c32f818;hpb=4a15af614c3957ed5f7092c27cd0cb954c725eac;p=citadel.git diff --git a/citadel/modules/imap/imap_fetch.c b/citadel/modules/imap/imap_fetch.c index 293fecca0..c9d9c0d6b 100644 --- a/citadel/modules/imap/imap_fetch.c +++ b/citadel/modules/imap/imap_fetch.c @@ -687,7 +687,7 @@ void imap_fetch_body(long msgnum, ConstStr item, int is_peek) { if (Imap->cached_body == NULL) { CCC->redirect_buffer = NewStrBufPlain(NULL, SIZ); loading_body_now = 1; - msg = CtdlFetchMessage(msgnum, (need_body ? 1 : 0), 1); + msg = CtdlFetchMessage(msgnum, (need_body ? 1 : 0)); } /* Now figure out what the client wants, and get it */ @@ -1062,7 +1062,7 @@ void imap_do_fetch_msg(int seq, citimap_command *Cmd) { msg = NULL; } if (msg == NULL) { - msg = CtdlFetchMessage(Imap->msgids[seq-1], 1, 1); + msg = CtdlFetchMessage(Imap->msgids[seq-1], 1); body_loaded = 1; } imap_fetch_bodystructure(Imap->msgids[seq-1], @@ -1070,14 +1070,14 @@ void imap_do_fetch_msg(int seq, citimap_command *Cmd) { } else if (!strcasecmp(Cmd->Params[i].Key, "ENVELOPE")) { if (msg == NULL) { - msg = CtdlFetchMessage(Imap->msgids[seq-1], 0, 1); + msg = CtdlFetchMessage(Imap->msgids[seq-1], 0); body_loaded = 0; } imap_fetch_envelope(msg); } else if (!strcasecmp(Cmd->Params[i].Key, "INTERNALDATE")) { if (msg == NULL) { - msg = CtdlFetchMessage(Imap->msgids[seq-1], 0, 1); + msg = CtdlFetchMessage(Imap->msgids[seq-1], 0); body_loaded = 0; } imap_fetch_internaldate(msg);