]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-storage: fs-iter - Fix double slash in index iteration path
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 8 May 2026 12:23:47 +0000 (12:23 +0000)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 8 May 2026 12:27:16 +0000 (12:27 +0000)
src/lib-storage/list/mailbox-list-fs-iter.c

index c1b85dcc48d3ee558a8141e9c5f5c1c6a45239cd..c327c75cb90763b81251d8dcdd1682469d453555 100644 (file)
@@ -304,10 +304,10 @@ fs_list_get_storage_path(struct fs_list_iterate_context *ctx,
                if (!mailbox_list_get_root_path(ctx->ctx.list, type, &root))
                        return FALSE;
                if (iter_from_index_dir &&
-                   set->parsed_mailbox_root_directory_prefix[0] != '\0') {
-                       /* append "mailboxes/" to the index root */
+                   set->mailbox_root_directory_name[0] != '\0') {
+                       /* append "mailboxes" to the index root */
                        root = t_strconcat(root, "/",
-                               set->parsed_mailbox_root_directory_prefix, NULL);
+                               set->mailbox_root_directory_name, NULL);
                }
                path = *path == '\0' ? root :
                        t_strconcat(root, "/", path, NULL);