aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 (