From a80ff8ee769b26022592bcbe173957fa31f34e61 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 11 Aug 2005 03:55:17 +0000 Subject: ** See #271985. 2005-08-10 Not Zed ** See #271985. * mail-config.c (mail_config_write_on_exit) (mail_config_get_account_by_source_url) (mail_config_get_account_by_transport_url) (mail_config_get_default_transport): * mail-component.c (load_accounts): check url for content before using it. svn path=/trunk/; revision=30081 --- mail/mail-component.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mail/mail-component.c') diff --git a/mail/mail-component.c b/mail/mail-component.c index b8aa43d910..e6a1c4fe69 100644 --- a/mail/mail-component.c +++ b/mail/mail-component.c @@ -324,6 +324,7 @@ load_accounts (MailComponent *component, EAccountList *accounts) any that come through as account sources are really movemail sources! */ if (account->enabled && service->url != NULL + && service->url[0] && strncmp(service->url, "mbox:", 5) != 0) mail_component_load_store_by_uri (component, service->url, name); -- cgit