aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/exchange-operations/exchange-contacts.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/exchange-operations/exchange-contacts.c')
-rw-r--r--plugins/exchange-operations/exchange-contacts.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/exchange-operations/exchange-contacts.c b/plugins/exchange-operations/exchange-contacts.c
index a656282d2b..b428b6b032 100644
--- a/plugins/exchange-operations/exchange-contacts.c
+++ b/plugins/exchange-operations/exchange-contacts.c
@@ -146,9 +146,11 @@ e_exchange_contacts_pcontacts (EPlugin *epl, EConfigHookItemFactoryData *data)
}
uri_text = e_source_get_uri (source);
- if (uri_text && strncmp (uri_text, "exchange", 8)) {
- g_free (uri_text);
- return NULL;
+ if (uri_text && g_ascii_strncasecmp (uri_text, "exchange", 8)) {
+ if (g_ascii_strncasecmp (uri_text, "gal", 3)) {
+ g_free (uri_text);
+ return NULL;
+ }
}
g_free (uri_text);