From 06f9df52ebfe23b8017e9fd07750a849656328a9 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 24 Jan 2017 15:47:51 +0000 Subject: [Rework] Further fixes to symbols frequencies --- src/client/rspamc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client') diff --git a/src/client/rspamc.c b/src/client/rspamc.c index 764dd9376..dac493d8c 100644 --- a/src/client/rspamc.c +++ b/src/client/rspamc.c @@ -837,7 +837,7 @@ rspamc_counters_output (FILE *out, ucl_object_t *obj) printf ("\033[0m"); } rspamd_snprintf (fmt_buf, sizeof (fmt_buf), - "| %%3d | %%%ds | %%6.1f | %%9d | %%9.3f |\n", max_len); + "| %%3d | %%%ds | %%6.1f | %%9.3f | %%9.3f |\n", max_len); iter = NULL; i = 0; @@ -851,7 +851,7 @@ rspamc_counters_output (FILE *out, ucl_object_t *obj) printf (fmt_buf, i, ucl_object_tostring (sym), ucl_object_todouble (weight), - (gint)ucl_object_toint (freq), + ucl_object_todouble (freq), ucl_object_todouble (tim)); } i++; -- cgit v1.2.3