diff options
Diffstat (limited to 'camel/providers/groupwise')
-rw-r--r-- | camel/providers/groupwise/groupwise-config-listener.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/camel/providers/groupwise/groupwise-config-listener.c b/camel/providers/groupwise/groupwise-config-listener.c index bd6b256035..3b368ac079 100644 --- a/camel/providers/groupwise/groupwise-config-listener.c +++ b/camel/providers/groupwise/groupwise-config-listener.c @@ -125,7 +125,12 @@ finalize (GObject *object) static gboolean is_groupwise_account (EAccount *account) { - return (strncmp (account->source->url, GROUPWISE_URI_PREFIX, GROUPWISE_PREFIX_LENGTH ) == 0); + if (account->source->url != NULL) { + + return (strncmp (account->source->url, GROUPWISE_URI_PREFIX, GROUPWISE_PREFIX_LENGTH ) == 0); + } else { + return FALSE; + } } |