aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 613a3b00fa..b8b9287d08 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -105,8 +105,9 @@ folder_browser_load_folder (FolderBrowser *fb, const char *name)
char *service, *ptr;
fprintf (stderr, "\n****** name = %s ******\n\n", name);
- service = g_strdup (name);
+ service = g_strdup_printf ("%s/", name);
for (ptr = service + 7; *ptr && *ptr != '/'; ptr++);
+ ptr++;
*ptr = '\0';
fprintf (stderr, "\n****** service = %s ******\n\n", service);
store = camel_session_get_store (session, service, ex);