[evolution-data-server/gnome-3-16] Bug 719476 - [IMAPx] Always run IDLE on Inbox folder - take ][
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-3-16] Bug 719476 - [IMAPx] Always run IDLE on Inbox folder - take ][
- Date: Wed, 13 May 2015 12:54:06 +0000 (UTC)
commit 01fac0771a6bc6e55ddc1a66bbe7101dc174e73e
Author: Milan Crha <mcrha redhat com>
Date: Wed May 13 14:49:19 2015 +0200
Bug 719476 - [IMAPx] Always run IDLE on Inbox folder - take ][
The imapx_maybe_select() requires to hold the queue lock, which
I overlooked in the initial change.
camel/providers/imapx/camel-imapx-server.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index 5a9856a..bc02031 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -3747,7 +3747,9 @@ camel_imapx_server_idle (CamelIMAPXServer *is,
job->start = imapx_job_idle_start;
camel_imapx_job_set_mailbox (job, mailbox);
+ QUEUE_LOCK (is);
imapx_maybe_select (is, job, mailbox);
+ QUEUE_UNLOCK (is);
previous_connection_timeout = imapx_server_set_connection_timeout (is->priv->connection, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]