Mercurial > dovecot > original-hg > dovecot-1.2
changeset 316:0c1ff60e55e6 HEAD
If authentication failed, the failure message was written to output buffer
but the buffer wasn't flushed.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 25 Sep 2002 19:03:23 +0300 |
parents | f07ad72a1c7e |
children | 79d9a40fbb72 |
files | src/login/client-authenticate.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/login/client-authenticate.c Tue Sep 24 20:47:34 2002 +0300 +++ b/src/login/client-authenticate.c Wed Sep 25 19:03:23 2002 +0300 @@ -71,6 +71,7 @@ client_send_tagline(client, msg != NULL ? msg : "NO Authentication failed."); + io_buffer_send_flush(client->outbuf); /* get back to normal client input */ if (client->io != NULL) @@ -112,6 +113,8 @@ io_buffer_send(client->outbuf, base64_data, strlen(base64_data)); io_buffer_send(client->outbuf, "\r\n", 2); + io_buffer_send_flush(client->outbuf); + t_pop(); }