diff options
Diffstat (limited to 'plugins/exchange-account-setup/exchange-ask-password.c')
-rw-r--r-- | plugins/exchange-account-setup/exchange-ask-password.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/exchange-account-setup/exchange-ask-password.c b/plugins/exchange-account-setup/exchange-ask-password.c index a78cc48df9..eadab0438c 100644 --- a/plugins/exchange-account-setup/exchange-ask-password.c +++ b/plugins/exchange-account-setup/exchange-ask-password.c @@ -74,7 +74,11 @@ validate_exchange_user (void *data) } validate = provider->priv; - validate->validate_user (url, owa_entry_text, NULL); + if (validate) + validate->validate_user (url, owa_entry_text, NULL); + else + valid = FALSE; + /* FIXME: need to check for return value */ if (valid) { count ++; url_string = camel_url_to_string (url, 0); |