diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-24 15:47:51 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-24 15:47:51 +0000 |
commit | 06f9df52ebfe23b8017e9fd07750a849656328a9 (patch) | |
tree | abb80c3506c1632c6823258ce79bdb70477b516f /src/client | |
parent | 71fb2acea714e1da39a53e89e1950925b9b8337c (diff) | |
download | rspamd-06f9df52ebfe23b8017e9fd07750a849656328a9.tar.gz rspamd-06f9df52ebfe23b8017e9fd07750a849656328a9.zip |
[Rework] Further fixes to symbols frequencies
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/rspamc.c | 4 |
1 files changed, 2 insertions, 2 deletions
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++; |