dovecot-1.1: LOGOUT command also closes mailbox, so mark it as s...

dovecot at dovecot.org dovecot at dovecot.org
Mon Feb 25 21:19:54 EET 2008


details:   http://hg.dovecot.org/dovecot-1.1/rev/0917df31efec
changeset: 7288:0917df31efec
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Feb 25 21:22:05 2008 +0200
description:
LOGOUT command also closes mailbox, so mark it as such to fix command
pipelining problems.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/imap/commands.c |    2 +-

diffs (12 lines):

diff -r 75526c605044 -r 0917df31efec src/imap/commands.c
--- 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 },


More information about the dovecot-cvs mailing list