From 59d486de79a5940919071fa7ca7bbbae96cb87cc Mon Sep 17 00:00:00 2001 From: Sushma Rai Date: Sat, 26 Nov 2005 09:22:36 +0000 Subject: Fix for not showing wrong OOF error message in case of authentication failure. svn path=/trunk/; revision=30687 --- plugins/exchange-operations/exchange-account-setup.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/exchange-operations/exchange-account-setup.c') 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 -- cgit v1.2.3