dovecot-2.1: imapc: Make sure "is mail expunged?" NOOP is sent t...

dovecot at dovecot.org dovecot at dovecot.org
Sat Oct 1 17:39:15 EEST 2011


details:   http://hg.dovecot.org/dovecot-2.1/rev/4cfe3f14bb46
changeset: 13573:4cfe3f14bb46
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Oct 01 17:47:35 2011 +0300
description:
imapc: Make sure "is mail expunged?" NOOP is sent to correct connection.
(Although currently there are never more than a single connection.)

diffstat:

 src/lib-storage/index/imapc/imapc-mail.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r 967a53c3ef5e -r 4cfe3f14bb46 src/lib-storage/index/imapc/imapc-mail.c
--- a/src/lib-storage/index/imapc/imapc-mail.c	Sat Oct 01 17:41:12 2011 +0300
+++ b/src/lib-storage/index/imapc/imapc-mail.c	Sat Oct 01 17:47:35 2011 +0300
@@ -74,8 +74,8 @@
 	/* we may be running against a server that hasn't bothered sending
 	   us an EXPUNGE. see if NOOP sends it. */
 	imapc_simple_context_init(&sctx, mbox->storage);
-	imapc_client_cmdf(mbox->storage->client, imapc_simple_callback,
-			  &sctx, "NOOP");
+	imapc_client_mailbox_cmdf(mbox->client_box,
+				  imapc_simple_callback, &sctx, "NOOP");
 	imapc_simple_run(&sctx);
 
 	return !imapc_msgmap_uid_to_rseq(msgmap, _mail->uid, &rseq);


More information about the dovecot-cvs mailing list