From 0cb546628b3e285c3da9433450e69714cede9785 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 19 Nov 2013 17:21:21 +0200 Subject: [PATCH] lmtp: Make sure output is flushed before disconnection. --- src/lmtp/client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lmtp/client.c b/src/lmtp/client.c index 023991a59d..a1796eff78 100644 --- a/src/lmtp/client.c +++ b/src/lmtp/client.c @@ -259,6 +259,7 @@ void client_destroy(struct client *client, const char *prefix, const char *reason) { client_disconnect(client, prefix, reason); + o_stream_uncork(client->output); clients_count--; DLLIST_REMOVE(&clients, client); -- 2.47.3