From 8ee694a7e4e9b3ac1cef2919230b33e181ec4452 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Tue, 3 Sep 2002 15:02:28 +0000 Subject: Dont translate / to dir_sep anymore, we always use /. 2002-09-04 Not Zed * component-factory.c (storage_xfer_folder): Dont translate / to dir_sep anymore, we always use /. svn path=/trunk/; revision=17944 --- mail/component-factory.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'mail/component-factory.c') 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")); -- cgit v1.2.3