From 1ff991d6ed463c0b6d6072147e8afecc43c3a5df Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Fri, 9 Aug 2002 16:53:38 +0000 Subject: When renaming our cache, add the "/folders" to the path. 2002-08-09 Peter Williams * providers/imap/camel-imap-folder.c (imap_rename): When renaming our cache, add the "/folders" to the path. svn path=/trunk/; revision=17752 --- camel/providers/imap/camel-imap-folder.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'camel/providers') 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); -- cgit