aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2002-08-10 00:53:38 +0800
committerPeter Williams <peterw@src.gnome.org>2002-08-10 00:53:38 +0800
commit1ff991d6ed463c0b6d6072147e8afecc43c3a5df (patch)
tree1095b282c79e0159477595e80debe0e17c103594 /camel/providers
parentc585c8203f54c07e91104bdb6623124e5f795a2d (diff)
downloadgsoc2013-evolution-1ff991d6ed463c0b6d6072147e8afecc43c3a5df.tar
gsoc2013-evolution-1ff991d6ed463c0b6d6072147e8afecc43c3a5df.tar.gz
gsoc2013-evolution-1ff991d6ed463c0b6d6072147e8afecc43c3a5df.tar.bz2
gsoc2013-evolution-1ff991d6ed463c0b6d6072147e8afecc43c3a5df.tar.lz
gsoc2013-evolution-1ff991d6ed463c0b6d6072147e8afecc43c3a5df.tar.xz
gsoc2013-evolution-1ff991d6ed463c0b6d6072147e8afecc43c3a5df.tar.zst
gsoc2013-evolution-1ff991d6ed463c0b6d6072147e8afecc43c3a5df.zip
When renaming our cache, add the "/folders" to the path.
2002-08-09 Peter Williams <peterw@ximian.com> * providers/imap/camel-imap-folder.c (imap_rename): When renaming our cache, add the "/folders" to the path. svn path=/trunk/; revision=17752
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/imap/camel-imap-folder.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index 7976c7d19e..5f1cab5293 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -441,8 +441,11 @@ imap_rename (CamelFolder *folder, const char *new)
CamelImapFolder *imap_folder = (CamelImapFolder *)folder;
CamelImapStore *imap_store = (CamelImapStore *)folder->parent_store;
char *folder_dir, *summary_path;
+ char *folders;
- folder_dir = e_path_to_physical (imap_store->storage_path, new);
+ folders = g_strconcat (imap_store->storage_path, "/folders", NULL);
+ folder_dir = e_path_to_physical (folders, new);
+ g_free (folders);
summary_path = g_strdup_printf("%s/summary", folder_dir);
CAMEL_IMAP_FOLDER_LOCK (folder, cache_lock);