dovecot-1.2: IMAP: SEARCH command was returning EXPUNGEs to client.

dovecot at dovecot.org dovecot at dovecot.org
Sat Nov 15 20:17:19 EET 2008


details:   http://hg.dovecot.org/dovecot-1.2/rev/97f7b15f7d44
changeset: 8409:97f7b15f7d44
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Nov 15 20:17:10 2008 +0200
description:
IMAP: SEARCH command was returning EXPUNGEs to client.

diffstat:

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

diffs (12 lines):

diff -r cf5a467e991c -r 97f7b15f7d44 src/imap/cmd-search.c
--- a/src/imap/cmd-search.c	Sat Nov 15 19:47:46 2008 +0200
+++ b/src/imap/cmd-search.c	Sat Nov 15 20:17:10 2008 +0200
@@ -456,7 +456,7 @@ static bool cmd_search_more(struct clien
 	}
 
 	sync_flags = MAILBOX_SYNC_FLAG_FAST;
-	if (cmd->uid && !ctx->have_seqsets)
+	if (!cmd->uid || ctx->have_seqsets)
 		sync_flags |= MAILBOX_SYNC_FLAG_NO_EXPUNGES;
 	return cmd_sync(cmd, sync_flags, 0,
 			t_strdup_printf("OK Search completed (%d.%03d secs).",


More information about the dovecot-cvs mailing list