dovecot-2.0-sslstream: namespace section name now points to pref...

dovecot at dovecot.org dovecot at dovecot.org
Sat Feb 13 02:55:37 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0-sslstream/rev/429641734346
changeset: 10175:429641734346
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Oct 23 19:09:33 2009 -0400
description:
namespace section name now points to prefix, not type.

diffstat:

2 files changed, 5 insertions(+), 2 deletions(-)
doc/example-config/conf.d/mail.conf     |    5 ++++-
src/lib-storage/mail-storage-settings.c |    2 +-

diffs (27 lines):

diff -r f7943875e069 -r 429641734346 doc/example-config/conf.d/mail.conf
--- 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.
diff -r f7943875e069 -r 429641734346 src/lib-storage/mail-storage-settings.c
--- 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 @@ struct setting_parser_info mail_namespac
 	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),


More information about the dovecot-cvs mailing list