]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
config: Rename <plugin>_set_roots symbol to <plugin>_set_infos
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Sat, 20 May 2023 18:09:57 +0000 (21:09 +0300)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 20 Nov 2023 12:22:31 +0000 (14:22 +0200)
All external plugins' settings must be updated to use the new symbol.

src/config/config-parser.c

index 468488bdd435ac2bc7f46a9595c1e13314b1cf17..878b5b80dfcd31d480d5f79b023895b3bcfbf7c7 100644 (file)
@@ -1573,7 +1573,7 @@ void config_parse_load_modules(void)
        i_array_init(&new_services, 64);
        for (m = modules; m != NULL; m = m->next) {
                infos = module_get_symbol_quiet(m,
-                       t_strdup_printf("%s_set_roots", m->name));
+                       t_strdup_printf("%s_set_infos", m->name));
                if (infos != NULL) {
                        for (i = 0; infos[i] != NULL; i++)
                                array_push_back(&new_infos, &infos[i]);