diff options
Diffstat (limited to 'camel/camel-service.c')
-rw-r--r-- | camel/camel-service.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/camel/camel-service.c b/camel/camel-service.c index ee2a5b5431..0fcb61fa52 100644 --- a/camel/camel-service.c +++ b/camel/camel-service.c @@ -259,7 +259,9 @@ camel_service_disconnect (CamelService *service, gboolean clean, { gboolean res; - g_return_val_if_fail (service->connected, FALSE); + if (!service->connected) + return TRUE; + res = CSERV_CLASS (service)->disconnect (service, clean, ex); service->connected = FALSE; return res; |