[evolution-data-server/gnome-3-18] [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/gnome-3-18] [IMAPx] Remove runtime check from imapx_conn_manager_dec_mailbox_hash()
- Date: Fri, 29 Jan 2016 08:49:46 +0000 (UTC)
commit 9ecac8eeb3165ff019c631eb7e5a20943c0cd660
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 052080e..6de849d 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]