dovecot-2.0: lib-storage: Log namespace location with mail_debug...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Aug 20 18:14:25 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/892f0db489cd
changeset: 12015:892f0db489cd
user: Timo Sirainen <tss at iki.fi>
date: Fri Aug 20 16:14:19 2010 +0100
description:
lib-storage: Log namespace location with mail_debug=yes
diffstat:
src/lib-storage/mail-namespace.c | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diffs (30 lines):
diff -r 539da76585cc -r 892f0db489cd src/lib-storage/mail-namespace.c
--- a/src/lib-storage/mail-namespace.c Thu Aug 19 18:44:20 2010 +0100
+++ b/src/lib-storage/mail-namespace.c Fri Aug 20 16:14:19 2010 +0100
@@ -105,20 +105,21 @@
if (ns_set->subscriptions)
ns->flags |= NAMESPACE_FLAG_SUBSCRIPTIONS;
+ if (*ns_set->location == '\0')
+ ns_set->location = mail_set->mail_location;
+
if (mail_set->mail_debug) {
i_debug("Namespace %s: type=%s, prefix=%s, sep=%s, "
- "inbox=%s, hidden=%s, list=%s, subscriptions=%s",
+ "inbox=%s, hidden=%s, list=%s, subscriptions=%s "
+ "location=%s",
ns_set->name, ns_set->type, ns_set->prefix,
ns_set->separator == NULL ? "" : ns_set->separator,
ns_set->inbox ? "yes" : "no",
ns_set->hidden ? "yes" : "no",
ns_set->list,
- ns_set->subscriptions ? "yes" : "no");
+ ns_set->subscriptions ? "yes" : "no", ns_set->location);
}
- if (*ns_set->location == '\0')
- ns_set->location = mail_set->mail_location;
-
ns->set = ns_set;
ns->unexpanded_set = unexpanded_ns_set;
ns->mail_set = mail_set;
More information about the dovecot-cvs
mailing list