Mercurial > dovecot > original-hg > dovecot-1.2
changeset 8258:7db59981c1a0 HEAD
Shared mailboxes: Don't crash in some systems when debug logging NULL root_dir.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 09 Oct 2008 13:52:42 +0300 |
parents | d30f0525d457 |
children | 4dc07239ddfa |
files | src/lib-storage/mailbox-list.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/mailbox-list.c Thu Oct 09 13:05:52 2008 +0300 +++ b/src/lib-storage/mailbox-list.c Thu Oct 09 13:52:42 2008 +0300 @@ -203,7 +203,8 @@ if ((flags & MAILBOX_LIST_FLAG_DEBUG) != 0) { i_info("%s: root=%s, index=%s, control=%s, inbox=%s", - list->name, list->set.root_dir, + 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,