[evolution-data-server] [IMAPx] Remove runtime check from imapx_conn_manager_dec_mailbox_hash()
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] [IMAPx] Remove runtime check from imapx_conn_manager_dec_mailbox_hash()
- Date: Fri, 29 Jan 2016 08:48:48 +0000 (UTC)
commit 8572b171cab40a3f806493e8d7e280dc9b727e6e
Author: Milan Crha <mcrha redhat com>
Date: Fri Jan 29 09:46:27 2016 +0100
[IMAPx] Remove runtime check from imapx_conn_manager_dec_mailbox_hash()
This could cause confusing runtime warnings when trying to handle
IDLE marks for mailboxes, when two threads were stopping IDLE call
on one connection.
camel/providers/imapx/camel-imapx-conn-manager.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-conn-manager.c
b/camel/providers/imapx/camel-imapx-conn-manager.c
index e4f3ab1..5042c20 100644
--- a/camel/providers/imapx/camel-imapx-conn-manager.c
+++ b/camel/providers/imapx/camel-imapx-conn-manager.c
@@ -413,8 +413,6 @@ imapx_conn_manager_dec_mailbox_hash (CamelIMAPXConnManager *conn_man,
count = GPOINTER_TO_INT (g_hash_table_lookup (mailboxes_hash, mailbox));
if (!count) {
g_mutex_unlock (&conn_man->priv->busy_mailboxes_lock);
- g_warn_if_fail (count > 0);
-
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]