aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSushma Rai <rsushma@src.gnome.org>2005-11-26 17:22:36 +0800
committerSushma Rai <rsushma@src.gnome.org>2005-11-26 17:22:36 +0800
commit59d486de79a5940919071fa7ca7bbbae96cb87cc (patch)
tree2c5ef181781967f78949a3ad56ca2a6cbcba0dfc
parent9bedc8793f82e992f2ffb8d505af55f5478a89e3 (diff)
downloadgsoc2013-evolution-59d486de79a5940919071fa7ca7bbbae96cb87cc.tar.gz
gsoc2013-evolution-59d486de79a5940919071fa7ca7bbbae96cb87cc.tar.zst
gsoc2013-evolution-59d486de79a5940919071fa7ca7bbbae96cb87cc.zip
Fix for not showing wrong OOF error message in case of authentication failure.
svn path=/trunk/; revision=30687
-rw-r--r--plugins/exchange-operations/ChangeLog1
-rw-r--r--plugins/exchange-operations/exchange-account-setup.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/exchange-operations/ChangeLog b/plugins/exchange-operations/ChangeLog
index 3e14ffe294..08af9b374d 100644
--- a/plugins/exchange-operations/ChangeLog
+++ b/plugins/exchange-operations/ChangeLog
@@ -4,6 +4,7 @@
OOF state and check for the OOF state and message only of the account
is valid. Fixes the problem of printing OOF error message in case
of authentication failure.
+ (set_oof_info): Similar.
2005-10-03 Shakti Sen <shprasad@novell.com>
diff --git a/plugins/exchange-operations/exchange-account-setup.c b/plugins/exchange-operations/exchange-account-setup.c
index a705671fe2..cac2c33395 100644
--- a/plugins/exchange-operations/exchange-account-setup.c
+++ b/plugins/exchange-operations/exchange-account-setup.c
@@ -692,11 +692,10 @@ set_oof_info ()
account = exchange_operations_get_exchange_account ();
- if (!exchange_oof_set (account, oof_data->state, oof_data->message)) {
+ if (account && !exchange_oof_set (account, oof_data->state, oof_data->message)) {
e_error_run (NULL, ERROR_DOMAIN ":state-update-error", NULL);
}
-
}
static void