aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-selector.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-folder-selector.c')
-rw-r--r--mail/em-folder-selector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-folder-selector.c b/mail/em-folder-selector.c
index 38ff9ed391..ad20059fd4 100644
--- a/mail/em-folder-selector.c
+++ b/mail/em-folder-selector.c
@@ -360,7 +360,7 @@ em_folder_selector_get_selected_uri (EMFolderSelector *emfs)
char *path;
path = g_strdup_printf("%s/%s", (url->path == NULL || strcmp(url->path, "/") == 0) ? "":url->path, name);
- camel_url_set_path(url, newpath);
+ camel_url_set_path(url, path);
if (path[0] == '/') {
newpath = g_strdup(path+1);
g_free(path);