From a7a3d24987156f3883563c5c03e020ab572da597 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 8 Jun 2024 14:28:56 +0100 Subject: [PATCH] [Fix] Fix documentation nesting --- src/libserver/cfg_rcl.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libserver/cfg_rcl.cxx b/src/libserver/cfg_rcl.cxx index eb89e6301..f0c9db64d 100644 --- a/src/libserver/cfg_rcl.cxx +++ b/src/libserver/cfg_rcl.cxx @@ -1747,7 +1747,7 @@ rspamd_rcl_config_init(struct rspamd_config *cfg, GHashTable *skip_sections) FALSE, TRUE, cfg->doc_strings, - "Global rspamd options"); + "Global Rspamd options"); rspamd_rcl_add_default_handler(sub, "cache_file", rspamd_rcl_parse_struct_string, @@ -2210,7 +2210,7 @@ rspamd_rcl_config_init(struct rspamd_config *cfg, GHashTable *skip_sections) /* New DNS configuration */ auto *ssub = rspamd_rcl_add_section_doc(&top, sub, "dns", nullptr, nullptr, UCL_OBJECT, FALSE, TRUE, - cfg->doc_strings, + nullptr, "Options for DNS resolver"); rspamd_rcl_add_default_handler(ssub, "nameserver", @@ -2259,7 +2259,7 @@ rspamd_rcl_config_init(struct rspamd_config *cfg, GHashTable *skip_sections) /* New upstreams configuration */ ssub = rspamd_rcl_add_section_doc(&top, sub, "upstream", nullptr, nullptr, UCL_OBJECT, FALSE, TRUE, - cfg->doc_strings, + nullptr, "Upstreams configuration parameters"); rspamd_rcl_add_default_handler(ssub, "max_errors", -- 2.39.5