Mercurial > dovecot > core-2.2
diff src/lib-storage/index/dbox-common/dbox-sync-rebuild.c @ 13091:c4bac1e48611
lib-storage: mkdir APIs changed.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 02 Jul 2011 05:38:45 +0300 |
parents | 447bce266022 |
children | aed3379df476 |
line wrap: on
line diff
--- a/src/lib-storage/index/dbox-common/dbox-sync-rebuild.c Thu Jun 30 08:54:04 2011 +0300 +++ b/src/lib-storage/index/dbox-common/dbox-sync-rebuild.c Sat Jul 02 05:38:45 2011 +0300 @@ -212,8 +212,8 @@ /* try to create the alt directory. if it fails, it means alt storage isn't mounted. */ - if (mailbox_list_mkdir(list, alt_path, - MAILBOX_LIST_PATH_TYPE_ALT_DIR) < 0) + if (mailbox_list_mkdir_root(list, alt_path, + MAILBOX_LIST_PATH_TYPE_ALT_DIR) < 0) return -1; return 0; }