Mercurial > dovecot > original-hg > dovecot-1.2
changeset 1498:5a247fb1673c HEAD
Minor speedup
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 23 May 2003 17:39:45 +0300 |
parents | cdd898d549db |
children | e850252cdc7e |
files | src/imap/main.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap/main.c Fri May 23 17:12:43 2003 +0300 +++ b/src/imap/main.c Fri May 23 17:39:45 2003 +0300 @@ -2,6 +2,7 @@ #include "common.h" #include "ioloop.h" +#include "ostream.h" #include "lib-signals.h" #include "rawlog.h" #include "restrict-access.h" @@ -131,6 +132,7 @@ client = client_create(hin, hout, storage); + o_stream_cork(client->output); if (IS_STANDALONE()) { client_send_line(client, t_strconcat( "* PREAUTH [CAPABILITY "CAPABILITY_STRING"] " @@ -140,6 +142,7 @@ client_send_line(client, t_strconcat(getenv("IMAPLOGINTAG"), " OK Logged in.", NULL)); } + o_stream_flush(client->output); } static void main_deinit(void)