aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/exchange-account-setup/ChangeLog5
-rw-r--r--plugins/exchange-account-setup/exchange-ask-password.c6
2 files changed, 10 insertions, 1 deletions
diff --git a/plugins/exchange-account-setup/ChangeLog b/plugins/exchange-account-setup/ChangeLog
index 3fc16b44bf..ec4c9e4323 100644
--- a/plugins/exchange-account-setup/ChangeLog
+++ b/plugins/exchange-account-setup/ChangeLog
@@ -1,5 +1,10 @@
2005-01-12 Sushma Rai <rsushma@novell.com>
+ * exchange-ask-password.c: (validate_exchange_user):
+ Added one more error condition check.
+
+2005-01-12 Sushma Rai <rsushma@novell.com>
+
* org-gnome-exchange-account-setup.eplug.in: Factory
method to add owa url entry to account editor.
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);