aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-component.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-08-11 11:55:17 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-08-11 11:55:17 +0800
commita80ff8ee769b26022592bcbe173957fa31f34e61 (patch)
tree3359b72b912a136f18df4756e814f96dc8e66137 /mail/mail-component.c
parentaf47f89be4ce04dd33ba7b374f7f95aa86f0ebb4 (diff)
downloadgsoc2013-evolution-a80ff8ee769b26022592bcbe173957fa31f34e61.tar.gz
gsoc2013-evolution-a80ff8ee769b26022592bcbe173957fa31f34e61.tar.zst
gsoc2013-evolution-a80ff8ee769b26022592bcbe173957fa31f34e61.zip
** See #271985.
2005-08-10 Not Zed <NotZed@Ximian.com> ** 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
Diffstat (limited to 'mail/mail-component.c')
-rw-r--r--mail/mail-component.c1
1 files changed, 1 insertions, 0 deletions
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);