]> code.citadel.org Git - citadel.git/commitdiff
*** empty log message ***
authorArt Cancro <ajc@citadel.org>
Tue, 3 May 2005 19:32:52 +0000 (19:32 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 3 May 2005 19:32:52 +0000 (19:32 +0000)
citadel/imap_fetch.c
citadel/msgbase.c

index 5a37531b84c9a6ee78bcad0dad8315d5002fb5c3..c0d18b1cd56a01afb4935b2a3f6ce510874ef523 100644 (file)
@@ -903,6 +903,7 @@ void imap_do_fetch_msg(int seq, int num_items, char **itemlist) {
        struct CtdlMessage *msg = NULL;
        int body_loaded = 0;
 
+       buffer_output();
        cprintf("* %d FETCH (", seq);
 
        for (i=0; i<num_items; ++i) {
@@ -972,6 +973,7 @@ void imap_do_fetch_msg(int seq, int num_items, char **itemlist) {
        }
 
        cprintf(")\r\n");
+       unbuffer_output();
        if (msg != NULL) {
                CtdlFreeMessage(msg);
        }
index e43e869a0aa3bbdb27c7d5ea83c903b830e53e46..7882460e110d3c4c54b0a4b953713cfcc7ed58d1 100644 (file)
@@ -878,7 +878,6 @@ struct CtdlMessage *CtdlFetchMessage(long msgnum, int with_body)
         * body so other code doesn't barf.
         */
        if ( (ret->cm_fields['M'] == NULL) && (with_body) ) {
-               lprintf(CTDL_DEBUG, "** FETCHING BIG MESSAGE **\n"); /* FIXME */
                dmsgtext = cdb_fetch(CDB_BIGMSGS, &msgnum, sizeof(long));
                if (dmsgtext != NULL) {
                        ret->cm_fields['M'] = strdup(dmsgtext->ptr);