summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 511523a)
raw | patch | inline | side by side (parent: 511523a)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 7 Aug 2004 23:46:35 +0000 (23:46 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 7 Aug 2004 23:46:35 +0000 (23:46 +0000) |
are. Found by David M. Grimes <dgrimes@navisite.com>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@287 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@287 a5681a0c-68f1-0310-ab6d-d61299d08faa
program/src/rrd_graph.c | patch | blob | history |
index 9597daff9479605049669bfeec859135715f7e40..6d9195490c8c8bef2796e23eb16c59504d6e147d 100644 (file)
--- a/program/src/rrd_graph.c
+++ b/program/src/rrd_graph.c
im->gdes[gdi].rpnp[rpi].op == OP_PREV_OTHER){
long ptr = im->gdes[gdi].rpnp[rpi].ptr;
if(im->gdes[gdi].start > im->gdes[ptr].start) {
- im->gdes[gdi].rpnp[rpi].data += im->gdes[gdi].rpnp[rpi].ds_cnt;
+ im->gdes[gdi].rpnp[rpi].data += im->gdes[gdi].rpnp[rpi].ds_cnt
+ * ((im->gdes[gdi].start - im->gdes[ptr].start) / im->gdes[ptr].step);
}
}
}