From 71e4ecfd695b3838c8fafb43730286eb45655a8d Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Fri, 23 Oct 2009 19:09:33 -0400 Subject: [PATCH] namespace section name now points to prefix, not type. --HG-- branch : HEAD --- doc/example-config/conf.d/mail.conf | 5 ++++- src/lib-storage/mail-storage-settings.c | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/example-config/conf.d/mail.conf b/doc/example-config/conf.d/mail.conf index 15f5e3518c..cf3b7e875e 100644 --- a/doc/example-config/conf.d/mail.conf +++ b/doc/example-config/conf.d/mail.conf @@ -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. diff --git a/src/lib-storage/mail-storage-settings.c b/src/lib-storage/mail-storage-settings.c index d95d31fafd..deb3568f35 100644 --- a/src/lib-storage/mail-storage-settings.c +++ b/src/lib-storage/mail-storage-settings.c @@ -113,7 +113,7 @@ struct setting_parser_info mail_namespace_setting_parser_info = { 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), -- 2.47.3