]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-storage, dsync: Use a copy of unexpanded location settings
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Tue, 15 Nov 2022 23:20:38 +0000 (01:20 +0200)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 30 Nov 2022 12:46:45 +0000 (14:46 +0200)
commit910c5c080f3b42002c433d263a5efa9df23f8ade
tree905fdc553b26778651cfb3facd43750eb04fe9b5
parent29923735a92f2607bc92190dea4ed243cb18c202
lib-storage, dsync: Use a copy of unexpanded location settings

The unexpanded settings structs are used in only a few places. Replace
this usage by explicitly copying the few variables that are actually
needed. This allows getting rid of the full unexpanded settings structs,
which simplifies the settings handling code.
src/doveadm/dsync/dsync-brain.c
src/lib-storage/index/shared/shared-storage.c
src/lib-storage/mail-namespace.c
src/lib-storage/mail-storage-settings.c
src/lib-storage/mail-storage-settings.h
src/lib-storage/mailbox-list.c