summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-07-26 11:43:41 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-07-26 11:43:41 +0100
commit5a7de4519c7ac8ff2d6887465ca0baecbe739d65 (patch)
tree008f5bbaa611449d96802ff940bd81ccfa3e490b /src
parenta40fd90f81de1411c54ee5e14fdfdd9905c2009f (diff)
downloadrspamd-5a7de4519c7ac8ff2d6887465ca0baecbe739d65.tar.gz
rspamd-5a7de4519c7ac8ff2d6887465ca0baecbe739d65.zip
[Fix] Fix statconver command line arguments
Issue: #2366
Diffstat (limited to 'src')
-rw-r--r--src/rspamadm/stat_convert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rspamadm/stat_convert.c b/src/rspamadm/stat_convert.c
index 1dde4114d..acbe11550 100644
--- a/src/rspamadm/stat_convert.c
+++ b/src/rspamadm/stat_convert.c
@@ -224,11 +224,11 @@ rspamadm_statconvert (gint argc, gchar **argv, const struct rspamadm_command *cm
ucl_object_insert_key (obj, redis, "redis", 0, false);
ucl_object_insert_key (redis, ucl_object_fromstring (redis_host),
- "host", 0, false);
+ "servers", 0, false);
if (redis_db) {
ucl_object_insert_key (redis, ucl_object_fromstring (redis_db),
- "db", 0, false);
+ "dbname", 0, false);
}
if (redis_password) {