projects
/
platform
/
upstream
/
evolution-data-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e193c5a
)
imapx_query_auth_types_sync: Remove offline check.
author
Matthew Barnes
<mbarnes@redhat.com>
Mon, 3 Feb 2014 16:54:53 +0000
(11:54 -0500)
committer
Matthew Barnes
<mbarnes@redhat.com>
Mon, 3 Feb 2014 16:56:54 +0000
(11:56 -0500)
Let the operation fail naturally when the IMAP server isn't reachable.
camel/providers/imapx/camel-imapx-store.c
patch
|
blob
|
history
diff --git
a/camel/providers/imapx/camel-imapx-store.c
b/camel/providers/imapx/camel-imapx-store.c
index
869529e
..
73809e0
100644
(file)
--- a/
camel/providers/imapx/camel-imapx-store.c
+++ b/
camel/providers/imapx/camel-imapx-store.c
@@
-1051,14
+1051,6
@@
imapx_query_auth_types_sync (CamelService *service,
GList *t, *next;
CamelIMAPXServer *server;
- if (!camel_offline_store_get_online (CAMEL_OFFLINE_STORE (service))) {
- g_set_error (
- error, CAMEL_SERVICE_ERROR,
- CAMEL_SERVICE_ERROR_UNAVAILABLE,
- _("You must be working online to complete this operation"));
- return NULL;
- }
-
server = camel_imapx_server_new (CAMEL_IMAPX_STORE (service));
if (!imapx_connect_to_server (server, cancellable, error))