From e027656d8d171aa652858db22b81719f19d6b67c Mon Sep 17 00:00:00 2001 From: Sushma Rai Date: Mon, 17 Apr 2006 09:36:16 +0000 Subject: Return TRUE in case of non-exchange accounts. Fixes #338198. svn path=/trunk/; revision=31819 --- plugins/exchange-operations/exchange-contacts.c | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'plugins/exchange-operations/exchange-contacts.c') diff --git a/plugins/exchange-operations/exchange-contacts.c b/plugins/exchange-operations/exchange-contacts.c index 936b64deaf..7e6df68544 100644 --- a/plugins/exchange-operations/exchange-contacts.c +++ b/plugins/exchange-operations/exchange-contacts.c @@ -311,19 +311,14 @@ e_exchange_contacts_check (EPlugin *epl, EConfigHookPageCheckData *data) base_uri = e_source_group_peek_base_uri (group); exchange_config_listener_get_offline_status (exchange_global_config_listener, &offline_status); - if (base_uri) { - if (!g_ascii_strncasecmp (base_uri, "exchange", 8)) { - if (offline_status == OFFLINE_MODE) - return FALSE; - if (rel_uri && !strlen (rel_uri)) { - return FALSE; - } - } - else - return FALSE; + if (base_uri && !g_ascii_strncasecmp (base_uri, "exchange", 8)) { + if (offline_status == OFFLINE_MODE) + return FALSE; + if (rel_uri && !strlen (rel_uri)) + return FALSE; } else { - return FALSE; + return TRUE; } if (!contacts_src_exists) { -- cgit