@@ -125,7 +125,7 @@ int mailbox_list_create(const char *driver, struct mail_namespace *ns,
125125 }
126126
127127 if ((class -> props & MAILBOX_LIST_PROP_NO_MAILDIR_NAME ) != 0 &&
128- * set -> maildir_name != '\0' ) {
128+ * set -> maildir_name != '\0' ) {
129129 * error_r = "maildir_name not supported by this driver" ;
130130 return -1 ;
131131 }
@@ -334,7 +334,7 @@ mailbox_list_settings_parse_full(struct mail_user *user, const char *data,
334334 dest = & set_r -> inbox_path ;
335335 else if (strcmp (key , "INDEX" ) == 0 )
336336 dest = & set_r -> index_dir ;
337- else if (strcmp (key , "FTS_INDEX" ) == 0 )
337+ else if (strcmp (key , "FTS_INDEX" ) == 0 )
338338 dest = & set_r -> fts_index_dir ;
339339 else if (strcmp (key , "INDEXPVT" ) == 0 )
340340 dest = & set_r -> index_pvt_dir ;
@@ -1488,22 +1488,22 @@ bool mailbox_list_set_get_root_path(const struct mailbox_list_settings *set,
14881488 path = set -> root_dir ;
14891489 }
14901490 break ;
1491- case MAILBOX_LIST_PATH_TYPE_FTS_INDEX :
1492- if (set -> fts_index_dir != NULL ) {
1493- if (set -> fts_index_dir [0 ] == '\0' ) {
1494- /* in-memory indexes */
1495- return 0 ;
1496- }
1497- path = set -> fts_index_dir ;
1498-
1499- /* Preserve the old behavior of using the index directory if
1500- * fts_index_dir is not set. */
1501- } else if (set -> index_dir != NULL ) {
1502- path = set -> index_dir ;
1503- } else {
1504- path = set -> root_dir ;
1505- }
1506- break ;
1491+ case MAILBOX_LIST_PATH_TYPE_FTS_INDEX :
1492+ if (set -> fts_index_dir != NULL ) {
1493+ if (set -> fts_index_dir [0 ] == '\0' ) {
1494+ /* in-memory indexes */
1495+ return 0 ;
1496+ }
1497+ path = set -> fts_index_dir ;
1498+
1499+ /* Preserve the old behavior of using the index directory if
1500+ * fts_index_dir is not set. */
1501+ } else if (set -> index_dir != NULL ) {
1502+ path = set -> index_dir ;
1503+ } else {
1504+ path = set -> root_dir ;
1505+ }
1506+ break ;
15071507 case MAILBOX_LIST_PATH_TYPE_INDEX_PRIVATE :
15081508 path = set -> index_pvt_dir ;
15091509 break ;
0 commit comments