]> code.citadel.org Git - citadel.git/blobdiff - citadel/serv_imap.c
* Added flush_output() calls to IMAP modules. (Do we need them? Are we
[citadel.git] / citadel / serv_imap.c
index e456f925ff790cac60e17e62a799cbb5777814ca..684d39e306442a1dabaf15c5c3375fad456ca0b0 100644 (file)
@@ -1238,6 +1238,7 @@ void imap_command_loop(void)
 
        time(&CC->lastcmd);
        memset(cmdbuf, 0, sizeof cmdbuf);       /* Clear it, just in case */
+       flush_output();
        if (client_gets(cmdbuf) < 1) {
                lprintf(CTDL_ERR, "IMAP socket is broken.  Ending session.\r\n");
                CC->kill_me = 1;