diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-06 10:52:20 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-06 11:37:58 +0000 |
commit | a77bb196b4ffe7661b60d820116f71ccdae541da (patch) | |
tree | 372671bfec52cdb71db6230923b988ff44998357 | |
parent | 75742445c0abc917be609327b21feedd14daf79d (diff) | |
download | rspamd-a77bb196b4ffe7661b60d820116f71ccdae541da.tar.gz rspamd-a77bb196b4ffe7661b60d820116f71ccdae541da.zip |
Fix scan time output.
Reported by: @moiseev
-rw-r--r-- | src/controller.c | 2 |
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 ( |