@@ -125,7 +125,7 @@ int mailbox_list_create(const char *driver, struct mail_namespace *ns,
125
125
}
126
126
127
127
if ((class -> props & MAILBOX_LIST_PROP_NO_MAILDIR_NAME ) != 0 &&
128
- * set -> maildir_name != '\0' ) {
128
+ * set -> maildir_name != '\0' ) {
129
129
* error_r = "maildir_name not supported by this driver" ;
130
130
return -1 ;
131
131
}
@@ -334,7 +334,7 @@ mailbox_list_settings_parse_full(struct mail_user *user, const char *data,
334
334
dest = & set_r -> inbox_path ;
335
335
else if (strcmp (key , "INDEX" ) == 0 )
336
336
dest = & set_r -> index_dir ;
337
- else if (strcmp (key , "FTS_INDEX" ) == 0 )
337
+ else if (strcmp (key , "FTS_INDEX" ) == 0 )
338
338
dest = & set_r -> fts_index_dir ;
339
339
else if (strcmp (key , "INDEXPVT" ) == 0 )
340
340
dest = & set_r -> index_pvt_dir ;
@@ -1488,22 +1488,22 @@ bool mailbox_list_set_get_root_path(const struct mailbox_list_settings *set,
1488
1488
path = set -> root_dir ;
1489
1489
}
1490
1490
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 ;
1507
1507
case MAILBOX_LIST_PATH_TYPE_INDEX_PRIVATE :
1508
1508
path = set -> index_pvt_dir ;
1509
1509
break ;
0 commit comments