aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-10-17 16:23:31 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-10-17 16:23:31 +0100
commit5ba9ba75fc19c62ca36198b8e1998412ecebdc07 (patch)
tree54cbf4cef0a115b44a916ee1957167c05ddc8d7d /src
parent45a1c1e24ac3ac96b8207c9c83ba397114223c4f (diff)
downloadrspamd-5ba9ba75fc19c62ca36198b8e1998412ecebdc07.tar.gz
rspamd-5ba9ba75fc19c62ca36198b8e1998412ecebdc07.zip
[Minor] Fix setting of specific ud field
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 8d027eb6f..c7da9fe87 100644
--- a/src/lua/lua_redis.c
+++ b/src/lua/lua_redis.c
@@ -708,6 +708,7 @@ lua_redis_make_request (lua_State *L)
sp_ud = g_slice_alloc0 (sizeof (*sp_ud));
sp_ud->cbref = cbref;
sp_ud->c = ud;
+ sp_ud->ctx = ctx;
lua_pushstring (L, "cmd");
lua_gettable (L, -2);