dovecot-1.1: MAILBOXDIR handling fix.
dovecot at dovecot.org
dovecot at dovecot.org
Mon May 4 23:48:50 EEST 2009
details: http://hg.dovecot.org/dovecot-1.1/rev/6f8c536d76d0
changeset: 8260:6f8c536d76d0
user: Timo Sirainen <tss at iki.fi>
date: Mon May 04 12:33:27 2009 -0400
description:
MAILBOXDIR handling fix.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-storage/mailbox-list.c | 2 +-
diffs (12 lines):
diff -r cf83b82a4c1e -r 6f8c536d76d0 src/lib-storage/mailbox-list.c
--- a/src/lib-storage/mailbox-list.c Sat May 02 18:31:51 2009 -0400
+++ b/src/lib-storage/mailbox-list.c Mon May 04 12:33:27 2009 -0400
@@ -191,7 +191,7 @@ void mailbox_list_init(struct mailbox_li
p_strdup(list->pool, set->subscription_fname);
list->set.maildir_name = p_strdup(list->pool, set->maildir_name);
- if (set->mailbox_dir_name == NULL)
+ if (set->mailbox_dir_name == NULL || *set->mailbox_dir_name == '\0')
list->set.mailbox_dir_name = "";
else if (set->mailbox_dir_name[strlen(set->mailbox_dir_name)-1] == '/') {
list->set.mailbox_dir_name =
More information about the dovecot-cvs
mailing list