summaryrefslogtreecommitdiff
path: root/camel/camel-imapx-store.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-08-17 07:58:34 -0400
committerMatthew Barnes <mbarnes@redhat.com>2013-08-17 09:02:23 -0400
commit3e28be9b199dc89a13003e1d10fe4a57123f80e0 (patch)
tree0775ddb710dbc115e3432e04759826eaa63935cd /camel/camel-imapx-store.c
parent26598ca58992bbfddd49ddb419dacae439343c1e (diff)
downloadevolution-data-server-3e28be9b199dc89a13003e1d10fe4a57123f80e0.tar.gz
camel_store_get_folder_info_sync: Connect first unless offline.
Diffstat (limited to 'camel/camel-imapx-store.c')
-rw-r--r--camel/camel-imapx-store.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/camel/camel-imapx-store.c b/camel/camel-imapx-store.c
index 140650dc9..18bab787a 100644
--- a/camel/camel-imapx-store.c
+++ b/camel/camel-imapx-store.c
@@ -1619,12 +1619,6 @@ imapx_store_get_folder_info_sync (CamelStore *store,
return fi;
}
- if (!camel_service_connect_sync (
- CAMEL_SERVICE (store), cancellable, error)) {
- g_mutex_unlock (&imapx_store->get_finfo_lock);
- return NULL;
- }
-
if (*top && flags & CAMEL_STORE_FOLDER_INFO_SUBSCRIPTION_LIST) {
fi = get_folder_info_offline (store, top, flags, error);
g_mutex_unlock (&imapx_store->get_finfo_lock);