aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorSushma Rai <rsushma@src.gnome.org>2005-01-12 19:51:03 +0800
committerSushma Rai <rsushma@src.gnome.org>2005-01-12 19:51:03 +0800
commitd4101f86f79c2dcdd832485002fddcf07a6d6c0a (patch)
treebdb8d90a43ff7744910752e71675be5c8a54a210 /plugins
parent828cd2b6b198e6015c89f00b8ab720710df07d80 (diff)
downloadgsoc2013-evolution-d4101f86f79c2dcdd832485002fddcf07a6d6c0a.tar
gsoc2013-evolution-d4101f86f79c2dcdd832485002fddcf07a6d6c0a.tar.gz
gsoc2013-evolution-d4101f86f79c2dcdd832485002fddcf07a6d6c0a.tar.bz2
gsoc2013-evolution-d4101f86f79c2dcdd832485002fddcf07a6d6c0a.tar.lz
gsoc2013-evolution-d4101f86f79c2dcdd832485002fddcf07a6d6c0a.tar.xz
gsoc2013-evolution-d4101f86f79c2dcdd832485002fddcf07a6d6c0a.tar.zst
gsoc2013-evolution-d4101f86f79c2dcdd832485002fddcf07a6d6c0a.zip
error check for old exchange library
svn path=/trunk/; revision=28375
Diffstat (limited to 'plugins')
-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);