diff options
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/providers/groupwise/groupwise-config-listener.c | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index e06f499175..f8ac647da7 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,8 @@ +2004-01-09 Sivaiah Nallagatla <snallagatla@novell.com> + + * providers/groupwise/groupwise-config-listener.c (is_groupwise_account): added null check + for source url to take care of accounts with Server Types as "None" + 2004-01-09 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-store.c (imap_forget_folder): fix 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; + } } |