Mercurial > dovecot > core-2.2
changeset 13573:4cfe3f14bb46
imapc: Make sure "is mail expunged?" NOOP is sent to correct connection.
(Although currently there are never more than a single connection.)
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 01 Oct 2011 17:47:35 +0300 |
parents | 967a53c3ef5e |
children | 037e963c9a34 |
files | src/lib-storage/index/imapc/imapc-mail.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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);