diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-05-19 17:00:25 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-05-19 17:00:25 +0100 |
commit | a102caecf7ab481bf4f3f5f4a233a5e64467e4d2 (patch) | |
tree | 1a9f0062f230d59ebe03323f7a6c935148504c10 /src/lua/lua_util.c | |
parent | 8c9a5fc40ae7275e9101ecfe65bef6d150260af1 (diff) | |
download | rspamd-a102caecf7ab481bf4f3f5f4a233a5e64467e4d2.tar.gz rspamd-a102caecf7ab481bf4f3f5f4a233a5e64467e4d2.zip |
[Minor] Add a simple way to limit number of email addresses
Diffstat (limited to 'src/lua/lua_util.c')
-rw-r--r-- | src/lua/lua_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_util.c b/src/lua/lua_util.c index 5948f4b4b..4d2758c5e 100644 --- a/src/lua/lua_util.c +++ b/src/lua/lua_util.c @@ -1650,7 +1650,7 @@ lua_util_parse_mail_address (lua_State *L) own_pool = TRUE; } - addrs = rspamd_email_address_from_mime (pool, str, len, NULL); + addrs = rspamd_email_address_from_mime (pool, str, len, NULL, -1); if (addrs == NULL) { lua_pushnil (L); |