aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-migrate.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-migrate.c')
-rw-r--r--mail/em-migrate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mail/em-migrate.c b/mail/em-migrate.c
index 6465f1cf32..d434e8b535 100644
--- a/mail/em-migrate.c
+++ b/mail/em-migrate.c
@@ -1359,8 +1359,7 @@ cp_r (const char *src, const char *dest)
if (S_ISDIR (st.st_mode)) {
cp_r (srcpath->str, destpath->str);
} else {
- em_migrate_set_folder_name (srcpath->str);
- cp (srcpath->str, destpath->str, TRUE);
+ cp (srcpath->str, destpath->str, FALSE);
}
}