diff options
Diffstat (limited to 'camel/camel-session.c')
-rw-r--r-- | camel/camel-session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-session.c b/camel/camel-session.c index 7f7fbe7a59..facedb9400 100644 --- a/camel/camel-session.c +++ b/camel/camel-session.c @@ -480,7 +480,7 @@ camel_session_get_service_connected (CamelSession *session, if (svc == NULL) return NULL; - if (svc->connected == FALSE) { + if (svc->status != CAMEL_SERVICE_CONNECTED) { if (camel_service_connect (svc, ex) == FALSE) { camel_object_unref (CAMEL_OBJECT (svc)); return NULL; |