From 5ba9ba75fc19c62ca36198b8e1998412ecebdc07 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 17 Oct 2016 16:23:31 +0100 Subject: [Minor] Fix setting of specific ud field --- src/lua/lua_redis.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lua/lua_redis.c') 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); -- cgit v1.2.3