changeset 7288:0917df31efec HEAD

LOGOUT command also closes mailbox, so mark it as such to fix command pipelining problems.
author Timo Sirainen <tss@iki.fi>
date Mon, 25 Feb 2008 21:22:05 +0200
parents 75526c605044
children 589663d269de
files src/imap/commands.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/imap/commands.c	Sun Feb 24 02:48:46 2008 +0200
+++ b/src/imap/commands.c	Mon Feb 25 21:22:05 2008 +0200
@@ -9,7 +9,7 @@
 
 const struct command imap4rev1_commands[] = {
 	{ "CAPABILITY",		cmd_capability,  0 },
-	{ "LOGOUT",		cmd_logout,      0 },
+	{ "LOGOUT",		cmd_logout,      COMMAND_FLAG_BREAKS_MAILBOX },
 	{ "NOOP",		cmd_noop,        COMMAND_FLAG_BREAKS_SEQS },
 
 	{ "APPEND",		cmd_append,      COMMAND_FLAG_BREAKS_SEQS },