diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-06-11 17:31:57 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-06-11 17:31:57 +0100 |
commit | c77403a16d4f892a1e62358fccb1715bad8e7859 (patch) | |
tree | 2e130ff6d0af96b1fd04a02722a948422fc70fa6 /src | |
parent | c0601ffba87d3e4a559f14437467326b63852be1 (diff) | |
download | rspamd-c77403a16d4f892a1e62358fccb1715bad8e7859.tar.gz rspamd-c77403a16d4f892a1e62358fccb1715bad8e7859.zip |
[Minor] Oops, fix index
Diffstat (limited to 'src')
-rw-r--r-- | src/lua/lua_parsers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_parsers.c b/src/lua/lua_parsers.c index 4180ac0d9..4d3398fc8 100644 --- a/src/lua/lua_parsers.c +++ b/src/lua/lua_parsers.c @@ -250,7 +250,7 @@ lua_parsers_parse_mail_address (lua_State *L) GPtrArray *addrs; gsize len; const gchar *str = luaL_checklstring (L, 1, &len); - gint max_addrs = luaL_optinteger(L, 2, 10240); + gint max_addrs = luaL_optinteger(L, 3, 10240); rspamd_mempool_t *pool; gboolean own_pool = FALSE; |