changeset 2813:572f29f4fa22 HEAD

Send the "* BYE Logging out" before closing mailbox.
author Timo Sirainen <tss@iki.fi>
date Sat, 23 Oct 2004 23:55:42 +0300
parents 4481384a4fba
children b85473a4df1b
files src/imap/cmd-logout.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/imap/cmd-logout.c	Fri Oct 22 20:47:28 2004 +0300
+++ b/src/imap/cmd-logout.c	Sat Oct 23 23:55:42 2004 +0300
@@ -6,6 +6,7 @@
 int cmd_logout(struct client *client)
 {
 	client_send_line(client, "* BYE Logging out");
+	o_stream_uncork(client->output);
 
 	if (client->mailbox != NULL) {
 		/* this could be done at client_disconnect() as well,