changeset 13267:1a40ebfedaa2

lib-storage: Log alt path when mail_debug=yes
author Timo Sirainen <tss@iki.fi>
date Tue, 16 Aug 2011 22:36:04 +0300
parents ee151b7e0d5a
children da8da4a11039
files src/lib-storage/mailbox-list.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-storage/mailbox-list.c	Tue Aug 16 22:27:06 2011 +0300
+++ b/src/lib-storage/mailbox-list.c	Tue Aug 16 22:36:04 2011 +0300
@@ -187,14 +187,15 @@
 	}
 
 	if (ns->mail_set->mail_debug) {
-		i_debug("%s: root=%s, index=%s, control=%s, inbox=%s",
+		i_debug("%s: root=%s, index=%s, control=%s, inbox=%s, alt=%s",
 			list->name,
 			list->set.root_dir == NULL ? "" : list->set.root_dir,
 			list->set.index_dir == NULL ? "" : list->set.index_dir,
 			list->set.control_dir == NULL ?
 			"" : list->set.control_dir,
 			list->set.inbox_path == NULL ?
-			"" : list->set.inbox_path);
+			"" : list->set.inbox_path,
+			list->set.alt_dir == NULL ? "" : list->set.alt_dir);
 	}
 	if ((flags & MAILBOX_LIST_FLAG_SECONDARY) == 0)
 		mail_namespace_finish_list_init(ns, list);