]> code.citadel.org Git - citadel.git/blobdiff - citadel/imap_fetch.c
* MUCH faster implementation of rfc822_fetch_field()
[citadel.git] / citadel / imap_fetch.c
index db543c89420a93c37ff3266832101d07bc142915..cf4c7ebdfba8ef54541bedf1f3892f8bbb3459f9 100644 (file)
@@ -782,20 +782,14 @@ void imap_do_fetch_msg(int seq, struct CtdlMessage *msg,
                                        1, msg);
                }
                else if (!strcasecmp(itemlist[i], "BODYSTRUCTURE")) {
-                       buffer_output();
                        imap_fetch_bodystructure(IMAP->msgids[seq-1],
                                        itemlist[i], msg);
-                       unbuffer_output();
                }
                else if (!strcasecmp(itemlist[i], "ENVELOPE")) {
-                       buffer_output();
                        imap_fetch_envelope(IMAP->msgids[seq-1], msg);
-                       unbuffer_output();
                }
                else if (!strcasecmp(itemlist[i], "FLAGS")) {
-                       buffer_output();
                        imap_fetch_flags(seq-1);
-                       unbuffer_output();
                }
                else if (!strcasecmp(itemlist[i], "INTERNALDATE")) {
                        imap_fetch_internaldate(msg);