Mercurial > dovecot > core-2.2
changeset 12015:892f0db489cd
lib-storage: Log namespace location with mail_debug=yes
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 20 Aug 2010 16:14:19 +0100 |
parents | 539da76585cc |
children | 77a043a1ddb5 |
files | src/lib-storage/mail-namespace.c |
diffstat | 1 files changed, 6 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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;