dovecot-2.0-sslstream: imap: Mark DELETE command as potentially ...

dovecot at dovecot.org dovecot at dovecot.org
Sat Feb 13 03:00:57 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0-sslstream/rev/9cefc944d82a
changeset: 10676:9cefc944d82a
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Feb 09 04:09:28 2010 +0200
description:
imap: Mark DELETE command as potentially closing mailbox.
That happens if DELETE is used on the selected mailbox.

diffstat:

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

diffs (13 lines):

diff -r 22354f505277 -r 9cefc944d82a src/imap/imap-commands.c
--- a/src/imap/imap-commands.c	Tue Feb 09 04:08:31 2010 +0200
+++ b/src/imap/imap-commands.c	Tue Feb 09 04:09:28 2010 +0200
@@ -15,7 +15,8 @@ static const struct command imap4rev1_co
 	{ "APPEND",		cmd_append,      COMMAND_FLAG_BREAKS_SEQS },
 	{ "EXAMINE",		cmd_examine,     COMMAND_FLAG_BREAKS_MAILBOX },
 	{ "CREATE",		cmd_create,      0 },
-	{ "DELETE",		cmd_delete,      COMMAND_FLAG_USE_NONEXISTENT },
+	{ "DELETE",		cmd_delete,      COMMAND_FLAG_BREAKS_MAILBOX |
+						 COMMAND_FLAG_USE_NONEXISTENT },
 	{ "RENAME",		cmd_rename,      COMMAND_FLAG_USE_NONEXISTENT },
 	{ "LIST",		cmd_list,        0 },
 	{ "LSUB",		cmd_lsub,        0 },


More information about the dovecot-cvs mailing list