aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/exchange-operations/exchange-account-setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/exchange-operations/exchange-account-setup.c')
-rw-r--r--plugins/exchange-operations/exchange-account-setup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/exchange-operations/exchange-account-setup.c b/plugins/exchange-operations/exchange-account-setup.c
index 1d32b096c8..f49a9f0d63 100644
--- a/plugins/exchange-operations/exchange-account-setup.c
+++ b/plugins/exchange-operations/exchange-account-setup.c
@@ -129,7 +129,8 @@ btn_chpass_clicked (GtkButton *button, gpointer data)
new_password = exchange_get_new_password (old_password, TRUE);
g_print ("Current password is \"%s\"\n", old_password);
result = exchange_account_set_password (account, old_password, new_password);
- exchange_operations_report_error (account, result);
+ if (result != EXCHANGE_ACCOUNT_CONNECT_SUCCESS)
+ exchange_operations_report_error (account, result);
g_free (old_password);
g_free (new_password);