diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-02-14 16:25:41 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-02-14 16:25:41 +0000 |
commit | 557c870057a43e72983e7f03feedbfc150e0b138 (patch) | |
tree | c59afd40eb471194d76db1bce97659ac16f9a127 /src/libserver/cfg_utils.c | |
parent | d0d0f333d3fd5d10bc6b88dd364cb792e326c8c2 (diff) | |
download | rspamd-557c870057a43e72983e7f03feedbfc150e0b138.tar.gz rspamd-557c870057a43e72983e7f03feedbfc150e0b138.zip |
[Project] CDB maps: Start making cdb a first class citizen
Diffstat (limited to 'src/libserver/cfg_utils.c')
-rw-r--r-- | src/libserver/cfg_utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c index 0d4953d51..be1d948a7 100644 --- a/src/libserver/cfg_utils.c +++ b/src/libserver/cfg_utils.c @@ -1180,7 +1180,7 @@ rspamd_include_map_handler (const guchar *data, gsize len, rspamd_ucl_fin_cb, rspamd_ucl_dtor_cb, (void **)pcbdata, - NULL) != NULL; + NULL, RSPAMD_MAP_DEFAULT) != NULL; } /* @@ -2240,7 +2240,7 @@ rspamd_config_radix_from_ucl (struct rspamd_config *cfg, rspamd_radix_fin, rspamd_radix_dtor, (void **)target, - worker) == NULL) { + worker, RSPAMD_MAP_DEFAULT) == NULL) { g_set_error (err, g_quark_from_static_string ("rspamd-config"), EINVAL, "bad map definition %s for %s", str, @@ -2267,7 +2267,7 @@ rspamd_config_radix_from_ucl (struct rspamd_config *cfg, rspamd_radix_fin, rspamd_radix_dtor, (void **)target, - worker) == NULL) { + worker, RSPAMD_MAP_DEFAULT) == NULL) { g_set_error (err, g_quark_from_static_string ("rspamd-config"), EINVAL, "bad map object for %s", ucl_object_key (obj)); |