]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix setting of specific ud field
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 17 Oct 2016 15:23:31 +0000 (16:23 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 17 Oct 2016 15:23:31 +0000 (16:23 +0100)
src/lua/lua_redis.c

index 8d027eb6f852a22dc3d0ed46f082add87c0715db..c7da9fe878e467cd218d77cb3ecad3169878d34d 100644 (file)
@@ -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);