From c45362211a8573b7a6c57c83f56ff00ff6f6d358 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 6 Apr 2015 14:42:33 +0100 Subject: [PATCH] Fix bug with lua redis timeouts. --- src/lua/lua_redis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua/lua_redis.c b/src/lua/lua_redis.c index 661c83079..e43cc6c7c 100644 --- a/src/lua/lua_redis.c +++ b/src/lua/lua_redis.c @@ -196,7 +196,7 @@ lua_redis_callback (redisAsyncContext *c, gpointer r, gpointer priv) static void lua_redis_timeout (int fd, short what, gpointer u) { - struct lua_redis_userdata *ud = ud; + struct lua_redis_userdata *ud = u; lua_redis_push_error ("timeout while connecting the server", ud, FALSE); } -- 2.39.5