X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_restore.c;h=53b25be2ef49d48b6771b543950fb7dd0444c08b;hb=46d2e915a9f864304ee107f9ea35a60b01d3e378;hp=fd15a924f00c47370a02a0be24ef392c44430755;hpb=e1c12d5c14b4a716ea999204cedb13e98466ff15;p=rrdtool.git diff --git a/src/rrd_restore.c b/src/rrd_restore.c index fd15a92..53b25be 100644 --- a/src/rrd_restore.c +++ b/src/rrd_restore.c @@ -1,5 +1,5 @@ /***************************************************************************** - * RRDtool 1.3rc3 Copyright by Tobi Oetiker, 1997-2008 + * RRDtool 1.3rc7 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 */