dovecot-2.2: *-login: Send the auth reply back corked.

dovecot at dovecot.org dovecot at dovecot.org
Thu Oct 24 16:21:20 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/e5bb04fe417b
changeset: 16881:e5bb04fe417b
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Oct 24 16:21:10 2013 +0300
description:
*-login: Send the auth reply back corked.

diffstat:

 src/login-common/client-common-auth.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r 2d3d73d03fe2 -r e5bb04fe417b src/login-common/client-common-auth.c
--- a/src/login-common/client-common-auth.c	Thu Oct 24 16:08:23 2013 +0300
+++ b/src/login-common/client-common-auth.c	Thu Oct 24 16:21:10 2013 +0300
@@ -361,7 +361,9 @@
 client_auth_result(struct client *client, enum client_auth_result result,
 		   const struct client_auth_reply *reply, const char *text)
 {
+	o_stream_cork(client->output);
 	client->v.auth_result(client, result, reply, text);
+	o_stream_uncork(client->output);
 }
 
 static bool


More information about the dovecot-cvs mailing list