diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-10-15 14:31:58 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-10-15 14:31:58 +0100 |
commit | 37d4dd4e45e21f7e1d4034fee516eb7b78189536 (patch) | |
tree | 357f9d16d8c229dee4d75344060d65ad82869957 /src | |
parent | c5e504950a444472e7772f2cc4a18ee9f81b6bd8 (diff) | |
download | rspamd-37d4dd4e45e21f7e1d4034fee516eb7b78189536.tar.gz rspamd-37d4dd4e45e21f7e1d4034fee516eb7b78189536.zip |
[Minor] Fix setting of table argument
Diffstat (limited to 'src')
-rw-r--r-- | src/lua/lua_fann.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_fann.c b/src/lua/lua_fann.c index 39bcb146f..1d02fe3f0 100644 --- a/src/lua/lua_fann.c +++ b/src/lua/lua_fann.c @@ -542,7 +542,7 @@ lua_fann_get_layers (lua_State *L) for (i = 0; i < nlayers; i ++) { lua_pushnumber (L, layers[i]); - lua_rawseti (L, -1, i + 1); + lua_rawseti (L, -2, i + 1); } g_free (layers); |