found one more place using IO directly, rerouting it to buffered IO else it will...
authorWilfried Goesgens <dothebart@citadel.org>
Sat, 13 Nov 2010 16:07:34 +0000 (17:07 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Sat, 13 Nov 2010 16:07:34 +0000 (17:07 +0100)
citadel/modules/imap/imap_fetch.c

index 7667ab68a60891798cac5052572502722ee214ca..86102bf8ed9a2f4ce506ffd7e702cf48b84acac5 100644 (file)
@@ -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);