aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorPeter Williams <peterw@src.gnome.org>2001-07-04 01:15:50 +0800
committerPeter Williams <peterw@src.gnome.org>2001-07-04 01:15:50 +0800
commited48c8350f349543662db18649e31f41c5419b9e (patch)
tree4a8d034d3dd2d565e8366743516a49ea7e716eaa /mail
parent0e893f8bc4259f6316ec99b29b825bf5a36b4312 (diff)
downloadgsoc2013-evolution-ed48c8350f349543662db18649e31f41c5419b9e.tar
gsoc2013-evolution-ed48c8350f349543662db18649e31f41c5419b9e.tar.gz
gsoc2013-evolution-ed48c8350f349543662db18649e31f41c5419b9e.tar.bz2
gsoc2013-evolution-ed48c8350f349543662db18649e31f41c5419b9e.tar.lz
gsoc2013-evolution-ed48c8350f349543662db18649e31f41c5419b9e.tar.xz
gsoc2013-evolution-ed48c8350f349543662db18649e31f41c5419b9e.tar.zst
gsoc2013-evolution-ed48c8350f349543662db18649e31f41c5419b9e.zip
Forgot to save this
svn path=/trunk/; revision=10756
Diffstat (limited to 'mail')
-rw-r--r--mail/mail-callbacks.c6
1 files changed, 4 insertions, 2 deletions
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,