summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-11-10 09:39:24 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-11-10 09:39:24 +0000
commitcb50806deb48cb9de56f8d0c8cb38decd55afac6 (patch)
tree6cab74f398c36558d3a4a2e102b0318a3a6d66a8
parenta0fc56157cacf18ceb0cdb73054f053dc82768ab (diff)
downloadrspamd-cb50806deb48cb9de56f8d0c8cb38decd55afac6.tar.gz
rspamd-cb50806deb48cb9de56f8d0c8cb38decd55afac6.zip
[Minor] Fix override
-rw-r--r--src/plugins/fuzzy_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c
index 6fd1f168b..ed85d7933 100644
--- a/src/plugins/fuzzy_check.c
+++ b/src/plugins/fuzzy_check.c
@@ -4617,7 +4617,7 @@ fuzzy_lua_ping_storage(lua_State *L)
if (lua_type(L, 5) == LUA_TSTRING) {
const gchar *server_name = lua_tostring(L, 5);
enum rspamd_parse_host_port_result res;
- GPtrArray *addrs;
+ GPtrArray *addrs = g_ptr_array_new();
/* We resolve address synchronously here! Why? Because it is an override... */
res = rspamd_parse_host_port_priority(server_name, &addrs, 0, NULL,