]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
*-login: Send the auth reply back corked.
authorTimo Sirainen <tss@iki.fi>
Thu, 24 Oct 2013 13:21:10 +0000 (16:21 +0300)
committerTimo Sirainen <tss@iki.fi>
Thu, 24 Oct 2013 13:21:10 +0000 (16:21 +0300)
src/login-common/client-common-auth.c

index 9400323d8de25c9e00bfd962032a884599903e5b..bf80d379ce0f6365db6f9c89b63f83e1b64bb74d 100644 (file)
@@ -361,7 +361,9 @@ static void ATTR_NULL(3, 4)
 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