aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-09-03 23:02:28 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-09-03 23:02:28 +0800
commit8ee694a7e4e9b3ac1cef2919230b33e181ec4452 (patch)
tree689314a73bb703eb9e22cd0a52af775df60ab025 /mail/component-factory.c
parent5e144756c987f97f4289d554d9bcdf222cd9b326 (diff)
downloadgsoc2013-evolution-8ee694a7e4e9b3ac1cef2919230b33e181ec4452.tar.gz
gsoc2013-evolution-8ee694a7e4e9b3ac1cef2919230b33e181ec4452.tar.zst
gsoc2013-evolution-8ee694a7e4e9b3ac1cef2919230b33e181ec4452.zip
Dont translate / to dir_sep anymore, we always use /.
2002-09-04 Not Zed <NotZed@Ximian.com> * component-factory.c (storage_xfer_folder): Dont translate / to dir_sep anymore, we always use /. svn path=/trunk/; revision=17944
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index c27a26d048..3102db603b 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -1231,18 +1231,6 @@ storage_xfer_folder (EvolutionStorage *storage,
sep = store->dir_sep;
src = g_strdup(source_path[0]=='/'?source_path+1:source_path);
dst = g_strdup(destination_path[0]=='/'?destination_path+1:destination_path);
- if (sep != '/') {
- p = src;
- while ((c = *p++))
- if (c == '/')
- p[-1] = sep;
-
- p = dst;
- while ((c = *p++))
- if (c == '/')
- p[-1] = sep;
- }
-
camel_exception_init (&ex);
if (remove_source) {
d(printf("trying to rename\n"));