aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_dns_resolver.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_dns_resolver.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_dns_resolver.c')
-rw-r--r--src/lua/lua_dns_resolver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua/lua_dns_resolver.c b/src/lua/lua_dns_resolver.c
index 382e9e985..a4e3b4b03 100644
--- a/src/lua/lua_dns_resolver.c
+++ b/src/lua/lua_dns_resolver.c
@@ -360,6 +360,7 @@ lua_dns_resolver_resolve_common (lua_State *L,
/* Check arguments */
if (!rspamd_lua_parse_table_arguments (L, first, &err,
+ RSPAMD_LUA_PARSE_ARGUMENTS_DEFAULT,
"session=U{session};mempool=U{mempool};*name=S;*callback=F;"
"option=S;task=U{task};forced=B",
&session, &pool, &to_resolve, &cbref, &user_str, &task, &forced)) {