aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-05 14:25:09 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-05 14:25:09 +0100
commitd5e74875681c4f3b4822b765927b3cfc1aa42331 (patch)
treeae76b622098e984e428b308ae6034851f5e7442d /src
parentb1247748157ccdc9a40c6255ece4e5d64f71c6a4 (diff)
downloadrspamd-d5e74875681c4f3b4822b765927b3cfc1aa42331.tar.gz
rspamd-d5e74875681c4f3b4822b765927b3cfc1aa42331.zip
[CritFix] Fix redis structure by adding {NULL, NULL} member
Issue: #609 Reported by: @moisseev
Diffstat (limited to 'src')
-rw-r--r--src/lua/lua_redis.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua/lua_redis.c b/src/lua/lua_redis.c
index 235409667..675a20d3c 100644
--- a/src/lua/lua_redis.c
+++ b/src/lua/lua_redis.c
@@ -69,6 +69,7 @@ static const struct luaL_reg redislib_m[] = {
LUA_INTERFACE_DEF (redis, exec),
{"__gc", lua_redis_gc},
{"__tostring", rspamd_lua_class_tostring},
+ {NULL, NULL}
};
#ifdef WITH_HIREDIS