diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2017-06-28 10:22:20 +0300 |
---|---|---|
committer | Alexander Moisseev <moiseev@mezonplus.ru> | 2017-06-28 10:22:20 +0300 |
commit | e07bc348a141fa27d0d1eea7aba681a89488bdfa (patch) | |
tree | ab9b0fd41e4797cbb905be77916746f9e88527d7 /src/lua/lua_redis.c | |
parent | a1f9bef02f422a7f9b0031353b49aa76598f95e9 (diff) | |
download | rspamd-e07bc348a141fa27d0d1eea7aba681a89488bdfa.tar.gz rspamd-e07bc348a141fa27d0d1eea7aba681a89488bdfa.zip |
[Refactor] Correct misspelled variable name in lua_redis
Diffstat (limited to 'src/lua/lua_redis.c')
-rw-r--r-- | src/lua/lua_redis.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lua/lua_redis.c b/src/lua/lua_redis.c index 4b8e25923..c21d69f33 100644 --- a/src/lua/lua_redis.c +++ b/src/lua/lua_redis.c @@ -162,7 +162,7 @@ lua_redis_dtor (struct lua_redis_ctx *ctx) { struct lua_redis_userdata *ud; struct lua_redis_specific_userdata *cur, *tmp; - gboolean is_successfull = TRUE; + gboolean is_successful = TRUE; struct redisAsyncContext *ac; if (IS_ASYNC (ctx)) { @@ -175,7 +175,7 @@ lua_redis_dtor (struct lua_redis_ctx *ctx) event_del (&cur->timeout); if (!(cur->flags & LUA_REDIS_SPECIFIC_REPLIED)) { - is_successfull = FALSE; + is_successful = FALSE; } cur->flags |= LUA_REDIS_SPECIFIC_FINISHED; @@ -184,7 +184,7 @@ lua_redis_dtor (struct lua_redis_ctx *ctx) ud->terminated = 1; ac = ud->ctx; ud->ctx = NULL; - rspamd_redis_pool_release_connection (ud->pool, ac, is_successfull); + rspamd_redis_pool_release_connection (ud->pool, ac, is_successful); } LL_FOREACH_SAFE (ud->specific, cur, tmp) { |