{
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)) {
event_del (&cur->timeout);
if (!(cur->flags & LUA_REDIS_SPECIFIC_REPLIED)) {
- is_successfull = FALSE;
+ is_successful = FALSE;
}
cur->flags |= LUA_REDIS_SPECIFIC_FINISHED;
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) {