summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e0ce6bc)
raw | patch | inline | side by side (parent: e0ce6bc)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 28 Nov 2005 21:59:15 +0000 (21:59 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 28 Nov 2005 21:59:15 +0000 (21:59 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@723 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_update.c | patch | blob | history |
diff --git a/src/rrd_update.c b/src/rrd_update.c
index d164e34770a057ab5ea5b733674099c7339762c5..7f4a8fed8fdd47a64882aaf116caf5b83dc3475e 100644 (file)
--- a/src/rrd_update.c
+++ b/src/rrd_update.c
a heart beat can be unknown */
/* (rrd.pdp_prep[i].scratch[PDP_unkn_sec_cnt].u_cnt
> rrd.ds_def[i].par[DS_mrhb_cnt].u_cnt) || */
+ /* if the interval is larger thatn mrhb we get NAN */
+ (interval > rrd.ds_def[i].par[DS_mrhb_cnt].u_cnt) ||
(occu_pdp_st-proc_pdp_st <=
rrd.pdp_prep[i].scratch[PDP_unkn_sec_cnt].u_cnt)) {
pdp_temp[i] = DNAN;