Skip to content

Commit

Permalink
#62: check if alt_dir is set and print warning if it is set.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrse committed May 4, 2018
1 parent b760ac7 commit c57a6e5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/storage-rbox/rbox-storage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,15 +219,14 @@ struct mailbox *rbox_mailbox_alloc(struct mail_storage *storage, struct mailbox_
ibox->index_flags = static_cast<mail_index_open_flags>(intflags);

rbox->storage = (struct rbox_storage *)storage;

i_debug("STORAGE_NAME: %s", list->name);
if (list->set.alt_dir != NULL) {
i_warning("STORAGE_NAME: %s, alt storage set but currently not supported %s", list->name, list->set.alt_dir);
}
read_plugin_configuration(&rbox->box);
// TODO: load dovecot config and eval is_ceph_posix_bugfix_enabled
// cephfs does not support 2 hardlinks.
if (rbox->storage->config->is_ceph_posix_bugfix_enabled()) {
list->ns->list->v.get_mailbox_flags = rbox_fs_list_get_mailbox_flags;
} else {
i_debug("CONFIG NOT AVAIL");
}
FUNC_END();
return &rbox->box;
Expand Down

0 comments on commit c57a6e5

Please sign in to comment.