aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-06 10:52:20 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-06 11:37:58 +0000
commita77bb196b4ffe7661b60d820116f71ccdae541da (patch)
tree372671bfec52cdb71db6230923b988ff44998357
parent75742445c0abc917be609327b21feedd14daf79d (diff)
downloadrspamd-a77bb196b4ffe7661b60d820116f71ccdae541da.tar.gz
rspamd-a77bb196b4ffe7661b60d820116f71ccdae541da.zip
Fix scan time output.
Reported by: @moiseev
-rw-r--r--src/controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controller.c b/src/controller.c
index 55f1a3bd5..98488a5e9 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -1093,7 +1093,7 @@ rspamd_controller_handle_history (struct rspamd_http_connection_entry *conn_ent,
row->symbols), "symbols", 0, false);
ucl_object_insert_key (obj, ucl_object_fromint (
row->len), "size", 0, false);
- ucl_object_insert_key (obj, ucl_object_fromint (
+ ucl_object_insert_key (obj, ucl_object_fromdouble (
row->scan_time), "scan_time", 0, false);
if (row->user[0] != '\0') {
ucl_object_insert_key (obj, ucl_object_fromstring (