aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_map.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-03-17 10:08:10 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-03-17 10:08:10 +0000
commit3d8f5e0bf5647bd2a2300f4dae4bd6b76ca15cb8 (patch)
treed9977e6956fc3ff92f84644c7ce618ff7f467e35 /src/lua/lua_map.c
parentddb8489d1b595a8c5472be4186352cfd148bf800 (diff)
downloadrspamd-3d8f5e0bf5647bd2a2300f4dae4bd6b76ca15cb8.tar.gz
rspamd-3d8f5e0bf5647bd2a2300f4dae4bd6b76ca15cb8.zip
[Minor] Fix description of rspamd_lua_parse_table_arguments
Diffstat (limited to 'src/lua/lua_map.c')
-rw-r--r--src/lua/lua_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_map.c b/src/lua/lua_map.c
index 4d4dc2285..ed69db5fc 100644
--- a/src/lua/lua_map.c
+++ b/src/lua/lua_map.c
@@ -353,7 +353,7 @@ lua_config_add_map (lua_State *L)
if (cfg) {
if (lua_type (L, 2) == LUA_TTABLE) {
if (!rspamd_lua_parse_table_arguments (L, 2, &err,
- "type=*S;description=S;callback=F;url=*S",
+ "*type=S;description=S;callback=F;*url=S",
&type, &description, &cbidx, &map_line)) {
ret = luaL_error (L, "invalid table arguments: %s", err->message);
g_error_free (err);