struct CtdlMessage *msg = NULL;
int body_loaded = 0;
+ buffer_output();
cprintf("* %d FETCH (", seq);
for (i=0; i<num_items; ++i) {
}
cprintf(")\r\n");
+ unbuffer_output();
if (msg != NULL) {
CtdlFreeMessage(msg);
}
* 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);