aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_tcp.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-01 11:08:43 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-01 11:08:43 +0100
commit6bd388ae930900bef74532f810c4411650761868 (patch)
treebb164cd166ae1a43c2c7214d6961f0acda622ec8 /src/lua/lua_tcp.c
parent083e6ac5ce374e1e9759c7998dd04b9525333eb4 (diff)
downloadrspamd-6bd388ae930900bef74532f810c4411650761868.tar.gz
rspamd-6bd388ae930900bef74532f810c4411650761868.zip
[Minor] Add flags for rspamd_lua_parse_table_arguments
Diffstat (limited to 'src/lua/lua_tcp.c')
-rw-r--r--src/lua/lua_tcp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua/lua_tcp.c b/src/lua/lua_tcp.c
index e2f55e78b..371e72d5c 100644
--- a/src/lua/lua_tcp.c
+++ b/src/lua/lua_tcp.c
@@ -1797,6 +1797,7 @@ lua_tcp_connect_sync (lua_State *L)
struct ev_loop *ev_base = NULL;
int arguments_validated = rspamd_lua_parse_table_arguments (L, 1, &err,
+ RSPAMD_LUA_PARSE_ARGUMENTS_DEFAULT,
"task=U{task};session=U{session};resolver=U{resolver};ev_base=U{ev_base};"
"*host=S;*port=I;timeout=D;config=U{config}",
&task, &session, &resolver, &ev_base,