hm, I've seem to have broken the attachment downloading?
in other news, a memory leak here:
==31277== 31 bytes in 1 blocks are definitely lost in loss record 429 of 529
==31277== at 0x4024C4C: malloc (vg_replace_malloc.c:195)
==31277== by 0x450E72F: strdup (strdup.c:43)
==31277== by 0x806FDA0: convert_field (internet_addressing.c:647)
==31277== by 0x806FECD: convert_internet_message (internet_addressing.c:756)
==31277== by 0x80A9B78: smtp_data (serv_smtp.c:723)
==31277== by 0x80AAF1C: smtp_command_loop (serv_smtp.c:893)
==31277== by 0x8056F17: worker_thread (sysdep.c:1020)
==31277== by 0x807401E: ctdl_internal_thread_func (threadsc:839)
==31277== by 0x4232584: start_thread (pthread_create.c:300)
==31277== by 0x456A2BD: clone (clone.S:130)
else if (!strcasecmp(key, "In-reply-to")) {
if (msg->cm_fields['W'] == NULL) { /* References: supersedes In-reply-to: */
msg->cm_fields['W'] = strdup(value);
}
processed = 1;
}
which is 'W'
IG, since you've added that... do you know a place where it could get overwritten without free?
