diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-06 14:42:33 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-06 14:42:33 +0100 |
commit | c45362211a8573b7a6c57c83f56ff00ff6f6d358 (patch) | |
tree | fc6d68524c2a27da4bc2453aaf9d22b873354f2a /src | |
parent | cf77f3392ca787f23ee7ab0acfca6303a1bc2d88 (diff) | |
download | rspamd-c45362211a8573b7a6c57c83f56ff00ff6f6d358.tar.gz rspamd-c45362211a8573b7a6c57c83f56ff00ff6f6d358.zip |
Fix bug with lua redis timeouts.
Diffstat (limited to 'src')
-rw-r--r-- | src/lua/lua_redis.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |