From: Vsevolod Stakhov Date: Fri, 10 Feb 2017 10:27:31 +0000 (+0000) Subject: [Minor] Use isfinite instead of isnormal because of '0.0' X-Git-Tag: 1.5.0~142 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8acd626e885ad3767ed3c445989eb4c8d85aa83;p=thirdparty%2Frspamd.git [Minor] Use isfinite instead of isnormal because of '0.0' --- diff --git a/src/controller.c b/src/controller.c index a0619674dd..bdbbe23c60 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 (!isnormal (yval)) { + if (!isfinite (yval)) { nan_cnt++; } else {