From 8f5509c65dc6907a7581518246a200236088423c Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 23 Jan 2015 12:18:04 +0000 Subject: Rework statistics runtime structures. --- src/libserver/protocol.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libserver/protocol.c') diff --git a/src/libserver/protocol.c b/src/libserver/protocol.c index b3feda154..44bfe5a4e 100644 --- a/src/libserver/protocol.c +++ b/src/libserver/protocol.c @@ -773,6 +773,8 @@ rspamd_ucl_tolegacy_output (struct rspamd_task *task, ucl_object_tostring (elt)); } + g_assert (ucl_object_todouble (score) < 1000.0); + iter = NULL; while ((elt = ucl_iterate_object (metric, &iter, true)) != NULL) { if (elt->type == UCL_OBJECT) { -- cgit v1.2.3