Code

vdef calc was using end_orig to determine for which range it should do its
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sun, 28 Sep 2008 15:01:43 +0000 (15:01 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sun, 28 Sep 2008 15:01:43 +0000 (15:01 +0000)
commitb4a5dbf3090cedb3333633ee5b6c34fef3c7fff4
treebeacf1739206d4115bbccba48ec2d0713ca27b3c
parentfad44a38b2773c3fbb6936b92dc87305f0fbab24
vdef calc was using end_orig to determine for which range it should do its
calculations which is odd, since orig is only the requested range as
invocation time and not the data range deliverd by fetch. It does fall
completely flat when shifting since shifting does not affect the original
data. Bug #177 reported by hokiel

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3@1530 a5681a0c-68f1-0310-ab6d-d61299d08faa
program/src/rrd_graph.c
program/src/rrd_tool.c