diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-02-12 15:08:01 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-02-12 15:08:01 +0000 |
commit | 3d224cf3d8895e95947895e8a87d1644046f567b (patch) | |
tree | e323fd305b653981ec39b5a6dbfa23ba177b186a /src/libserver | |
parent | 1485bf2c42c3104696ec3a6c5e61ebe627a71c21 (diff) | |
download | rspamd-3d224cf3d8895e95947895e8a87d1644046f567b.tar.gz rspamd-3d224cf3d8895e95947895e8a87d1644046f567b.zip |
[Minor] Fix prototypes
Diffstat (limited to 'src/libserver')
-rw-r--r-- | src/libserver/cfg_file.h | 1 | ||||
-rw-r--r-- | src/libserver/cfg_utils.c | 4 | ||||
-rw-r--r-- | src/libserver/ssl_util.c | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/src/libserver/cfg_file.h b/src/libserver/cfg_file.h index 1d782dd8b..e37bccc69 100644 --- a/src/libserver/cfg_file.h +++ b/src/libserver/cfg_file.h @@ -856,6 +856,7 @@ gboolean rspamd_ip_is_local_cfg (struct rspamd_config *cfg, */ gboolean rspamd_config_libs (struct rspamd_external_libs_ctx *ctx, struct rspamd_config *cfg); +void rspamd_openssl_maybe_init (void); #define msg_err_config(...) rspamd_default_log_function (G_LOG_LEVEL_CRITICAL, \ cfg->cfg_pool->tag.tagname, cfg->checksum, \ 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); } diff --git a/src/libserver/ssl_util.c b/src/libserver/ssl_util.c index bff4d5014..f4e55fbea 100644 --- a/src/libserver/ssl_util.c +++ b/src/libserver/ssl_util.c @@ -970,4 +970,4 @@ gpointer rspamd_init_ssl_ctx_noverify (void) #endif return ssl_ctx_noverify; -} +}
\ No newline at end of file |