Mercurial > dovecot > core-2.2
changeset 10174:429641734346 HEAD
namespace section name now points to prefix, not type.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 23 Oct 2009 19:09:33 -0400 |
parents | f7943875e069 |
children | eaac22ecc168 |
files | doc/example-config/conf.d/mail.conf src/lib-storage/mail-storage-settings.c |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/example-config/conf.d/mail.conf Fri Oct 23 17:30:18 2009 -0400 +++ b/doc/example-config/conf.d/mail.conf Fri Oct 23 19:09:33 2009 -0400 @@ -44,7 +44,10 @@ # explicitly, ie. mail_location does nothing unless you have a namespace # without a location setting. Default namespace is simply done by having a # namespace with empty prefix. -#namespace private { +#namespace { + # Namespace type: private, shared or public + #type = private + # Hierarchy separator to use. You should use the same separator for all # namespaces or some clients get confused. '/' is usually a good one. # The default however depends on the underlying mail storage format.
--- a/src/lib-storage/mail-storage-settings.c Fri Oct 23 17:30:18 2009 -0400 +++ b/src/lib-storage/mail-storage-settings.c Fri Oct 23 19:09:33 2009 -0400 @@ -113,7 +113,7 @@ MEMBER(defines) mail_namespace_setting_defines, MEMBER(defaults) &mail_namespace_default_settings, - MEMBER(type_offset) offsetof(struct mail_namespace_settings, type), + MEMBER(type_offset) offsetof(struct mail_namespace_settings, prefix), MEMBER(struct_size) sizeof(struct mail_namespace_settings), MEMBER(parent_offset) offsetof(struct mail_namespace_settings, user_set),