summaryrefslogtreecommitdiff
path: root/camel
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw@src.gnome.org>2015-08-05 11:58:06 +0200
committerMilan Crha <mcrha@redhat.com>2015-08-05 11:58:06 +0200
commite6bec280aef2a45a38337052c43ea8f6b534bc09 (patch)
tree88fdab038188501781c2be290e8af9ee393f3215 /camel
parent425487905eb02506b8dc8215060bdbb6cd10b14c (diff)
downloadevolution-data-server-e6bec280aef2a45a38337052c43ea8f6b534bc09.tar.gz
Bug 753276 - Fix return value errors in camel-imapx-conn-manager.c
Diffstat (limited to 'camel')
-rw-r--r--camel/providers/imapx/camel-imapx-conn-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/providers/imapx/camel-imapx-conn-manager.c b/camel/providers/imapx/camel-imapx-conn-manager.c
index 795644334..260074795 100644
--- a/camel/providers/imapx/camel-imapx-conn-manager.c
+++ b/camel/providers/imapx/camel-imapx-conn-manager.c
@@ -216,7 +216,7 @@ connection_info_get_busy (ConnectionInfo *cinfo)
return busy;
}
-static gboolean
+static void
connection_info_set_busy (ConnectionInfo *cinfo,
gboolean busy)
{
@@ -801,7 +801,7 @@ camel_imapx_conn_manager_disconnect_sync (CamelIMAPXConnManager *conn_man,
{
GList *link, *connections;
- g_return_if_fail (CAMEL_IS_IMAPX_CONN_MANAGER (conn_man));
+ g_return_val_if_fail (CAMEL_IS_IMAPX_CONN_MANAGER (conn_man), FALSE);
/* Do this before acquiring the write lock, because any pending
connection holds the write lock, thus makes this request starve. */