[evolution-data-server] imapx_disconnect_sync: Fix runtime warning.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] imapx_disconnect_sync: Fix runtime warning.
- Date: Fri, 12 Jul 2013 19:26:51 +0000 (UTC)
commit d297e2788447098c207f4afbbfbb252d3498e7d4
Author: Matthew Barnes <mbarnes redhat com>
Date: Fri Jul 12 08:49:08 2013 -0400
imapx_disconnect_sync: Fix runtime warning.
Bad assumption here. The server could hang up while the
CamelService is still in a CAMEL_SERVICE_CONNECTING state.
camel/camel-imapx-store.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/camel-imapx-store.c b/camel/camel-imapx-store.c
index dd8e928..c299863 100644
--- a/camel/camel-imapx-store.c
+++ b/camel/camel-imapx-store.c
@@ -390,8 +390,8 @@ imapx_disconnect_sync (CamelService *service,
g_mutex_lock (&priv->server_lock);
- g_warn_if_fail (priv->connecting_server == NULL);
g_clear_object (&priv->connected_server);
+ g_clear_object (&priv->connecting_server);
g_mutex_unlock (&priv->server_lock);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]