aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_map.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-03-14 17:21:31 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-03-14 17:21:31 +0000
commit3740caa96e5a3d930db98564f59b00a104e499fa (patch)
tree1f3547bd9d2d15d6d218edaf2a882df3bc2d9e30 /src/lua/lua_map.c
parent2279095eb2ae749eb727eb2f9abd97a266a17ebd (diff)
downloadrspamd-3740caa96e5a3d930db98564f59b00a104e499fa.tar.gz
rspamd-3740caa96e5a3d930db98564f59b00a104e499fa.zip
[Fix] Rework map reading state machine
Diffstat (limited to 'src/lua/lua_map.c')
-rw-r--r--src/lua/lua_map.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lua/lua_map.c b/src/lua/lua_map.c
index 04c0af005..51db9f97b 100644
--- a/src/lua/lua_map.c
+++ b/src/lua/lua_map.c
@@ -272,7 +272,8 @@ lua_config_add_kv_map (lua_State *L)
static gchar *
lua_map_read (rspamd_mempool_t *pool, gchar *chunk, gint len,
- struct map_cb_data *data)
+ struct map_cb_data *data,
+ gboolean final)
{
struct lua_map_callback_data *cbdata, *old;