aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/imap/camel-imap-store.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c
index 6d996ffe9f..fccc43e45a 100644
--- a/camel/providers/imap/camel-imap-store.c
+++ b/camel/providers/imap/camel-imap-store.c
@@ -1663,6 +1663,8 @@ unsubscribe_folder (CamelStore *store, const char *folder_name,
name = strrchr (folder_name, imap_store->dir_sep);
if (name)
name++;
+ else
+ name = folder_name;
fi = g_new0 (CamelFolderInfo, 1);
fi->full_name = g_strdup (folder_name);