diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-16 22:41:51 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-16 22:41:51 +0000 |
commit | df91fb12eb5f37bfbc46c9ec5dca7310360d3a77 (patch) | |
tree | 4cf0d1b342d85fe4cdcf040a9a9dd9abdfdf9a19 /src/libstat/learn_cache/redis_cache.c | |
parent | 9f9354400bef0a810d3b1117e08c8149dfcb8489 (diff) | |
download | rspamd-df91fb12eb5f37bfbc46c9ec5dca7310360d3a77.tar.gz rspamd-df91fb12eb5f37bfbc46c9ec5dca7310360d3a77.zip |
Fix stupid misprint
Diffstat (limited to 'src/libstat/learn_cache/redis_cache.c')
-rw-r--r-- | src/libstat/learn_cache/redis_cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstat/learn_cache/redis_cache.c b/src/libstat/learn_cache/redis_cache.c index 1c2eaebe2..6cb3a8765 100644 --- a/src/libstat/learn_cache/redis_cache.c +++ b/src/libstat/learn_cache/redis_cache.c @@ -223,9 +223,9 @@ rspamd_stat_cache_redis_init (struct rspamd_stat_ctx *ctx, /* Use read servers as write ones */ g_assert (relt != NULL); cache_ctx->write_servers = rspamd_upstreams_create (cfg->ups_ctx); - if (!rspamd_upstreams_from_ucl (cache_ctx->read_servers, relt, + if (!rspamd_upstreams_from_ucl (cache_ctx->write_servers, relt, REDIS_DEFAULT_PORT, NULL)) { - msg_err ("statfile %s cannot get read servers configuration for the cache", + msg_err ("statfile %s cannot get write servers configuration for the cache", stf->symbol); return NULL; } |