From ed48c8350f349543662db18649e31f41c5419b9e Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Tue, 3 Jul 2001 17:15:50 +0000 Subject: Forgot to save this svn path=/trunk/; revision=10756 --- mail/mail-callbacks.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mail') diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index b4c42ba1cf..cfa2cf9ba0 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -1975,8 +1975,10 @@ create_folders (EvolutionStorage *storage, const char *prefix, CamelFolderInfo * { char *path; - mail_folder_cache_set_update_estorage (fi->url, storage); - mail_folder_cache_note_folderinfo (fi->url, fi); + if (fi->url) { + mail_folder_cache_set_update_estorage (fi->url, storage); + mail_folder_cache_note_folderinfo (fi->url, fi); + } path = g_strdup_printf ("%s/%s", prefix, fi->name); evolution_storage_new_folder (storage, path, fi->name, -- cgit