aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-folder-cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-folder-cache.c')
-rw-r--r--mail/mail-folder-cache.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c
index 7f1a689922..a3abc13073 100644
--- a/mail/mail-folder-cache.c
+++ b/mail/mail-folder-cache.c
@@ -404,7 +404,10 @@ folder_renamed(CamelObject *o, gpointer event_data, gpointer user_data)
char *old = event_data;
d(printf("Folder renamed from '%s' to '%s'\n", old, folder->full_name));
+
mfi = mfi;
+ old = old;
+ folder = folder;
/* Dont do anything, do it from the store rename event? */
}
@@ -604,7 +607,7 @@ store_folder_renamed(CamelObject *o, void *event_data, void *data)
si = g_hash_table_lookup(stores, store);
if (si) {
GPtrArray *folders = g_ptr_array_new();
- CamelFolderInfo *fi, *top;
+ CamelFolderInfo *top;
int i;
/* Ok, so for some reason the folderinfo we have comes in all messed up from