From ceb87422adb1d3cc36a7e4de9c728299c31f465a Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 6 Feb 2017 16:05:21 +0000 Subject: [PATCH] [Minor] Filter yvalues for graph more precisely --- src/controller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller.c b/src/controller.c index abb6ebe81..a0619674d 100644 --- a/src/controller.c +++ b/src/controller.c @@ -1150,7 +1150,7 @@ rspamd_controller_graph_point (gulong t, gulong step, for (j = 0; j < step; j++) { yval = acc[i + j * rrd_result->ds_count]; - if (isnan (yval)) { + if (!isnormal (yval)) { nan_cnt++; } else { -- 2.39.5