summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2016-01-29 09:46:27 +0100
committerMilan Crha <mcrha@redhat.com>2016-01-29 09:49:07 +0100
commit9ecac8eeb3165ff019c631eb7e5a20943c0cd660 (patch)
tree2c84a34e66da995969c0b427c39c1d2ed447df01
parentc9d95296fe28dcbe45de90f2c27c523445b96bcd (diff)
downloadevolution-data-server-9ecac8eeb3165ff019c631eb7e5a20943c0cd660.tar.gz
[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.
-rw-r--r--camel/providers/imapx/camel-imapx-conn-manager.c2
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 052080ef8..6de849d45 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;
}