aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_utils.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-02-12 15:08:01 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-02-12 15:08:01 +0000
commit3d224cf3d8895e95947895e8a87d1644046f567b (patch)
treee323fd305b653981ec39b5a6dbfa23ba177b186a /src/libserver/cfg_utils.c
parent1485bf2c42c3104696ec3a6c5e61ebe627a71c21 (diff)
downloadrspamd-3d224cf3d8895e95947895e8a87d1644046f567b.tar.gz
rspamd-3d224cf3d8895e95947895e8a87d1644046f567b.zip
[Minor] Fix prototypes
Diffstat (limited to 'src/libserver/cfg_utils.c')
-rw-r--r--src/libserver/cfg_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c
index d8237b88e..dac2e13c4 100644
--- a/src/libserver/cfg_utils.c
+++ b/src/libserver/cfg_utils.c
@@ -2639,7 +2639,7 @@ rspamd_config_ev_backend_to_string (int ev_backend, gboolean *effective)
#undef SET_EFFECTIVE
}
-static void
+void
rspamd_openssl_maybe_init (void)
{
static gboolean openssl_initialized = FALSE;
@@ -2802,7 +2802,7 @@ rspamd_config_libs (struct rspamd_external_libs_ctx *ctx,
if (cfg->local_addrs) {
rspamd_config_radix_from_ucl (cfg, cfg->local_addrs,
"Local addresses",
- ctx->local_addrs,
+ (struct rspamd_radix_map_helper **)ctx->local_addrs,
NULL,
NULL);
}