From 6bd388ae930900bef74532f810c4411650761868 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 1 Jul 2019 11:08:43 +0100 Subject: [Minor] Add flags for rspamd_lua_parse_table_arguments --- src/lua/lua_tcp.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lua/lua_tcp.c') 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, -- cgit v1.2.3