Mercurial > dovecot > core-2.2
changeset 13117:3156e6616e83
mdbox: Crashfix
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 28 Jul 2011 12:23:06 +0300 |
parents | f4a5e66be05b |
children | 7440d6e1577f |
files | src/lib-storage/index/dbox-multi/mdbox-map.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/dbox-multi/mdbox-map.c Wed Jul 27 17:58:27 2011 +0300 +++ b/src/lib-storage/index/dbox-multi/mdbox-map.c Thu Jul 28 12:23:06 2011 +0300 @@ -110,8 +110,7 @@ if (stat(path, &st) == 0) return 0; - if (mailbox_list_mkdir(map->root_list, path, - MAILBOX_LIST_PATH_TYPE_DIR) < 0) { + if (mailbox_list_mkdir(map->root_list, NULL, path) < 0) { mail_storage_copy_list_error(MAP_STORAGE(map), map->root_list); return -1; }