diff options
author | Sushma Rai <rsushma@src.gnome.org> | 2005-11-24 18:03:52 +0800 |
---|---|---|
committer | Sushma Rai <rsushma@src.gnome.org> | 2005-11-24 18:03:52 +0800 |
commit | 9ecaac70155878db5b8a02062f83620dc04eada6 (patch) | |
tree | a1e1bfec36b3e0861b5493c230dc3f9c26f52180 /plugins/exchange-operations/exchange-account-setup.c | |
parent | c28b9a75bbfaa2538d34f6b2c0c460b930eff5d7 (diff) | |
download | gsoc2013-evolution-9ecaac70155878db5b8a02062f83620dc04eada6.tar.gz gsoc2013-evolution-9ecaac70155878db5b8a02062f83620dc04eada6.tar.zst gsoc2013-evolution-9ecaac70155878db5b8a02062f83620dc04eada6.zip |
Not showing the OOF error message also on authentication failure.
svn path=/trunk/; revision=30654
Diffstat (limited to 'plugins/exchange-operations/exchange-account-setup.c')
-rw-r--r-- | plugins/exchange-operations/exchange-account-setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |