]> dgit.raspbian.org Git - dovecot.git/commit
[PATCH 2/2] lib-storage: Simplify mailbox_mkdir() using mailbox_list_mkdir_root(NULL)
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Tue, 23 Jun 2026 15:26:51 +0000 (15:26 +0000)
committerNoah Meyerhans <noahm@debian.org>
Wed, 16 Sep 2026 19:06:35 +0000 (15:06 -0400)
commit0c4b1c555d3142cb88a09d1c8a7967fc2bbd40ee
tree1bd48a82a2554b95371930bdbf3b9f5c17f97194
parenta43c232e654596f0f9792f4a5e2a43f63cb1c9f6
[PATCH 2/2] lib-storage: Simplify mailbox_mkdir() using mailbox_list_mkdir_root(NULL)

mailbox_mkdir() looked up the root path via mailbox_list_get_root_forced()
only to pass it straight to mailbox_list_mkdir_root(). Let mkdir_root()
resolve the root itself by passing path=NULL, dropping the local variable.

Gbp-Pq: Name 0002-lib-storage-Simplify-mailbox_mkdir-using-mailbox_lis.patch
src/lib-storage/mail-storage.c