aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_rcl.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-07-28 18:45:42 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-07-28 18:45:42 +0100
commit9c913bd7c316c99753c300c46de18092be015bc8 (patch)
tree7f8cfecb9c8d2160517e39857e00bf6a344de959 /src/libserver/cfg_rcl.c
parent219ea71d582dd5cabacfaa3f0ace8284d8f99cd8 (diff)
downloadrspamd-9c913bd7c316c99753c300c46de18092be015bc8.tar.gz
rspamd-9c913bd7c316c99753c300c46de18092be015bc8.zip
Fix option placement.
Diffstat (limited to 'src/libserver/cfg_rcl.c')
-rw-r--r--src/libserver/cfg_rcl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c
index 3948ecdce..3e0853bc6 100644
--- a/src/libserver/cfg_rcl.c
+++ b/src/libserver/cfg_rcl.c
@@ -1279,6 +1279,11 @@ rspamd_rcl_config_init (void)
rspamd_rcl_parse_struct_integer,
G_STRUCT_OFFSET (struct rspamd_config, dns_max_requests),
RSPAMD_CL_FLAG_INT_32);
+ rspamd_rcl_add_default_handler (sub,
+ "classify_headers",
+ rspamd_rcl_parse_struct_string_list,
+ G_STRUCT_OFFSET (struct rspamd_config, classify_headers),
+ 0);
/* New DNS configuration */
ssub = rspamd_rcl_add_section (&sub->subsections, "dns", NULL,
@@ -1313,11 +1318,6 @@ rspamd_rcl_config_init (void)
rspamd_rcl_parse_struct_integer,
G_STRUCT_OFFSET (struct rspamd_config, dns_io_per_server),
RSPAMD_CL_FLAG_INT_32);
- rspamd_rcl_add_default_handler (ssub,
- "classify_headers",
- rspamd_rcl_parse_struct_string_list,
- G_STRUCT_OFFSET (struct rspamd_config, classify_headers),
- 0);
/* New upstreams configuration */