summaryrefslogtreecommitdiffstats
path: root/src/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-08 11:30:12 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-08 11:30:12 +0000
commitfd38974d948b5e1a64f40f1f21bb59eee447c794 (patch)
treee6f0e91b9bba7f3dafede4733a3f3f4ce839bcb6 /src/lua
parent63c4d493d145b59d000ff7579aa7893c97d1566e (diff)
downloadrspamd-fd38974d948b5e1a64f40f1f21bb59eee447c794.tar.gz
rspamd-fd38974d948b5e1a64f40f1f21bb59eee447c794.zip
Fix one shot mode for SA metas
Diffstat (limited to 'src/lua')
-rw-r--r--src/lua/lua_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_config.c b/src/lua/lua_config.c
index bd1f5852f..fa778ff6d 100644
--- a/src/lua/lua_config.c
+++ b/src/lua/lua_config.c
@@ -940,7 +940,7 @@ lua_metric_symbol_callback (struct rspamd_task *task, gpointer ud)
if (nresults >= 1) {
/* Function returned boolean, so maybe we need to insert result? */
- gint res;
+ gint res = 0;
GList *opts = NULL;
gint i;
gdouble flag = 1.0;