From 9ecaac70155878db5b8a02062f83620dc04eada6 Mon Sep 17 00:00:00 2001 From: Sushma Rai Date: Thu, 24 Nov 2005 10:03:52 +0000 Subject: Not showing the OOF error message also on authentication failure. svn path=/trunk/; revision=30654 --- plugins/exchange-operations/exchange-account-setup.c | 4 ++-- 1 file changed, 2 insertions(+), 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 4b291f73c7..a705671fe2 100644 --- a/plugins/exchange-operations/exchange-account-setup.c +++ b/plugins/exchange-operations/exchange-account-setup.c @@ -174,7 +174,7 @@ org_gnome_exchange_settings(EPlugin *epl, EConfigHookItemFactoryData *data) CamelURL *url; const char *source_url; char *message = NULL, *txt = NULL, *oof_message; - gboolean oof_state; + gboolean oof_state = FALSE; GtkVBox *vbox_settings; @@ -232,7 +232,7 @@ org_gnome_exchange_settings(EPlugin *epl, EConfigHookItemFactoryData *data) /* See if oof info found already */ - if (!exchange_oof_get (account, &oof_state, &message)) { + if (account && !exchange_oof_get (account, &oof_state, &message)) { e_error_run (NULL, ERROR_DOMAIN ":state-read-error", NULL); -- cgit v1.2.3