]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/imap/imap_fetch.c
found one more place using IO directly, rerouting it to buffered IO else it will...
[citadel.git] / 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);