summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 074aa84)
raw | patch | inline | side by side (parent: 074aa84)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 2 Jun 2008 06:21:42 +0000 (06:21 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 2 Jun 2008 06:21:42 +0000 (06:21 +0000) |
src/rrd_restore.c | patch | blob | history |
diff --git a/src/rrd_restore.c b/src/rrd_restore.c
index 4a328bdf0ea15bdc4f6849dd5a0a8569641f63a9..53b25be2ef49d48b6771b543950fb7dd0444c08b 100644 (file)
--- a/src/rrd_restore.c
+++ b/src/rrd_restore.c
if (((!isnan(min)) && (*rrd_value < min))
|| ((!isnan(max)) && (*rrd_value > max)))
- *rrd_value = NAN;
+ *rrd_value = DNAN;
return (0);
} /* int value_check_range */