aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config-gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-config-gui.c')
-rw-r--r--mail/mail-config-gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-config-gui.c b/mail/mail-config-gui.c
index 669f328bee..77bb4677b7 100644
--- a/mail/mail-config-gui.c
+++ b/mail/mail-config-gui.c
@@ -2255,7 +2255,7 @@ static void do_test_service (gpointer in_data, gpointer op_data, CamelException
if (camel_exception_get_id (ex) != CAMEL_EXCEPTION_NONE) {
data->success = FALSE;
} else if (camel_service_connect (service, ex)) {
- camel_service_disconnect (service, ex);
+ camel_service_disconnect (service, TRUE, ex);
data->success = TRUE;
} else {
data->success = FALSE;