aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/exchange-operations/exchange-config-listener.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/exchange-operations/exchange-config-listener.c')
-rw-r--r--plugins/exchange-operations/exchange-config-listener.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/exchange-operations/exchange-config-listener.c b/plugins/exchange-operations/exchange-config-listener.c
index bb85a07802..ffacddf911 100644
--- a/plugins/exchange-operations/exchange-config-listener.c
+++ b/plugins/exchange-operations/exchange-config-listener.c
@@ -872,7 +872,8 @@ account_added (EAccountList *account_list, EAccount *account)
exchange_account);
add_sources (exchange_account);
exchange_account_connect (exchange_account, NULL, &result);
- exchange_operations_report_error (exchange_account, result);
+ if (result != EXCHANGE_ACCOUNT_CONNECT_SUCCESS)
+ exchange_operations_report_error (exchange_account, result);
add_new_sources (exchange_account);
}