X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_restore.c;h=2485861e0a4581403096e933b44cb6f3b2768b43;hb=5c3b824e73337ebc150268f929246991b68d44f3;hp=d6b0d5aec108eeb0fa318656b6bdea4b4c24f890;hpb=f75c19b15bd7f3aae3c48d9c1ab1036d5e201baa;p=rrdtool.git diff --git a/src/rrd_restore.c b/src/rrd_restore.c index d6b0d5a..2485861 100644 --- a/src/rrd_restore.c +++ b/src/rrd_restore.c @@ -1,5 +1,5 @@ /***************************************************************************** - * RRDtool 1.2.99907080300 Copyright by Tobi Oetiker, 1997-2007 + * RRDtool 1.3.0 Copyright by Tobi Oetiker, 1997-2008 * This file: Copyright 2008 Florian octo Forster * Distributed under the GPL ***************************************************************************** @@ -163,7 +163,7 @@ static int value_check_range( if (((!isnan(min)) && (*rrd_value < min)) || ((!isnan(max)) && (*rrd_value > max))) - *rrd_value = NAN; + *rrd_value = DNAN; return (0); } /* int value_check_range */