Skip to content
Snippets Groups Projects
Commit 7731f536 authored by Timo Sirainen's avatar Timo Sirainen Committed by aki.tuomi
Browse files

managesieve dump-capability: Disable settings checking functions

The dump-capability just wants to get the capabilities. Any problems with
settings will be handled later on.
parent 26436224
No related branches found
No related tags found
No related merge requests found
......@@ -54,10 +54,15 @@ static const struct setting_parser_info **plugin_set_roots =
static struct plugin_settings *plugin_settings_read(void)
{
struct master_service_settings_input input;
struct master_service_settings_output output;
const char *error;
if (master_service_settings_read_simple(
master_service, plugin_set_roots, &error) < 0)
i_zero(&input);
input.roots = plugin_set_roots;
input.disable_check_settings = TRUE;
if (master_service_settings_read(master_service, &input,
&output, &error) < 0)
i_fatal("Error reading configuration: %s", error);
return master_service_settings_get_root_set(master_service,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.