From: Vsevolod Stakhov Date: Mon, 6 Feb 2017 16:05:21 +0000 (+0000) Subject: [Minor] Filter yvalues for graph more precisely X-Git-Tag: 1.5.0~171 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ceb87422adb1d3cc36a7e4de9c728299c31f465a;p=thirdparty%2Frspamd.git [Minor] Filter yvalues for graph more precisely --- diff --git a/src/controller.c b/src/controller.c index abb6ebe814..a0619674dd 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 {