aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-09-03 12:28:10 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-09-03 12:28:10 +0100
commitc44301d54c623d46ad48606ecaefb1f48c7ff2d8 (patch)
tree92c438e6c9b821da507b3c97dfa99b7bc9e17ac2
parentec7c781f2f263913ebc9d7caf6c9208bda9071ba (diff)
downloadrspamd-c44301d54c623d46ad48606ecaefb1f48c7ff2d8.tar.gz
rspamd-c44301d54c623d46ad48606ecaefb1f48c7ff2d8.zip
[Minor] Fix variable name
-rw-r--r--src/plugins/lua/fann_redis.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/fann_redis.lua b/src/plugins/lua/fann_redis.lua
index 5c444e74c..ac6f78772 100644
--- a/src/plugins/lua/fann_redis.lua
+++ b/src/plugins/lua/fann_redis.lua
@@ -770,7 +770,7 @@ local function train_fann(rule, _, ev_base, elt, worker)
local out = torch.MemoryFile()
out:writeObject(fanns[elt].fann_train)
local st = out:storage():string()
- return out
+ return st
end
worker:spawn_process{