diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-11 11:28:50 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-11 11:28:50 +0000 |
commit | 54fc24c2b369399915f9470cbfef4146858df0eb (patch) | |
tree | 767003eb8405ab23497027b140bb6446a8f83976 /src/libstat/learn_cache/redis_cache.c | |
parent | 13371ea6841d6b9668b313aecd2e860e173085e5 (diff) | |
download | rspamd-54fc24c2b369399915f9470cbfef4146858df0eb.tar.gz rspamd-54fc24c2b369399915f9470cbfef4146858df0eb.zip |
Fix query
Diffstat (limited to 'src/libstat/learn_cache/redis_cache.c')
-rw-r--r-- | src/libstat/learn_cache/redis_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstat/learn_cache/redis_cache.c b/src/libstat/learn_cache/redis_cache.c index c24c47b6d..c1dd89fc4 100644 --- a/src/libstat/learn_cache/redis_cache.c +++ b/src/libstat/learn_cache/redis_cache.c @@ -347,7 +347,7 @@ rspamd_stat_cache_redis_learn (struct rspamd_task *task, if (redisAsyncCommand (rt->redis, rspamd_stat_cache_redis_set, rt, "HSET %s %s %d", - rt->ctx->redis_object, h) == REDIS_OK) { + rt->ctx->redis_object, h, flag) == REDIS_OK) { rspamd_session_add_event (task->s, rspamd_redis_cache_fin, rt, rspamd_stat_cache_redis_quark ()); event_add (&rt->timeout_event, &tv); |