From: Alexander Moisseev Date: Wed, 28 Jun 2017 07:22:20 +0000 (+0300) Subject: [Refactor] Correct misspelled variable name in lua_redis X-Git-Tag: 1.6.2~55^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e07bc348a141fa27d0d1eea7aba681a89488bdfa;p=rspamd.git [Refactor] Correct misspelled variable name in lua_redis --- 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) {