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.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/mail/mail-config-gui.c b/mail/mail-config-gui.c
index 955c457e7c..c757c65904 100644
--- a/mail/mail-config-gui.c
+++ b/mail/mail-config-gui.c
@@ -2222,11 +2222,12 @@ 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);
- data->success = TRUE;
+ /*} else if (camel_service_connect (service, ex)) {
+ *camel_service_disconnect (service, ex);
+ *data->success = TRUE;
+ */
} else {
- data->success = FALSE;
+ data->success = TRUE;
}
camel_object_unref (CAMEL_OBJECT (service));