dovecot-1.2: convert plugin: If alt_hierarchy_char isn't specifi...
dovecot at dovecot.org
dovecot at dovecot.org
Tue May 26 04:53:18 EEST 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/616c0ee81222
changeset: 9083:616c0ee81222
user: Timo Sirainen <tss at iki.fi>
date: Mon May 25 21:53:13 2009 -0400
description:
convert plugin: If alt_hierarchy_char isn't specified, don't truncate mailbox names.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/plugins/convert/convert-storage.c | 2 +-
diffs (12 lines):
diff -r 478ad35af83a -r 616c0ee81222 src/plugins/convert/convert-storage.c
--- a/src/plugins/convert/convert-storage.c Mon May 25 21:43:46 2009 -0400
+++ b/src/plugins/convert/convert-storage.c Mon May 25 21:53:13 2009 -0400
@@ -118,7 +118,7 @@ mailbox_name_convert(struct mail_storage
src_sep = mail_storage_get_hierarchy_sep(source_storage);
dest_sep = mail_storage_get_hierarchy_sep(dest_storage);
- if (src_sep == dest_sep)
+ if (src_sep == dest_sep || set->alt_hierarchy_char == '\0')
return name;
dest_name = t_strdup_noconst(name);
More information about the dovecot-cvs
mailing list