Fix for not showing wrong OOF error message in case of authentication failure.

svn path=/trunk/; revision=30687
This commit is contained in:
Sushma Rai
2005-11-26 09:22:36 +00:00
parent 9bedc8793f
commit 59d486de79
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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