From: Wilfried Goesgens Date: Sat, 13 Nov 2010 16:07:34 +0000 (+0100) Subject: found one more place using IO directly, rerouting it to buffered IO else it will... X-Git-Tag: v8.01~592 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=4adfcf169ed58e73755382b963b469a2635e27a2 found one more place using IO directly, rerouting it to buffered IO else it will spoil the sequence. --- diff --git a/citadel/modules/imap/imap_fetch.c b/citadel/modules/imap/imap_fetch.c index 7667ab68a..86102bf8e 100644 --- a/citadel/modules/imap/imap_fetch.c +++ b/citadel/modules/imap/imap_fetch.c @@ -294,7 +294,7 @@ void imap_load_part(char *name, char *filename, char *partnum, char *disp, ); if (!strcasecmp(partnum, desired_section)) { - client_write(content, length); + iaputs(content, length); } snprintf(mimebuf2, sizeof mimebuf2, "%s.MIME", partnum);