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 ce63d1ef06..32b66f9e10 100644
--- a/plugins/exchange-operations/exchange-account-setup.c
+++ b/plugins/exchange-operations/exchange-account-setup.c
@@ -464,8 +464,9 @@ owa_authenticate_user(GtkWidget *button, EConfig *config)
valid = e2k_validate_user (owa_url, &url->user, exchange_params,
&remember_password, &result);
- if (!valid)
+ if (!valid && result != E2K_AUTOCONFIG_CANCELLED)
print_error (owa_url, result);
+
camel_url_set_host (url, valid ? exchange_params->host : "");
if (valid) {