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)
commitc0a24f3ad434468743b694bf5296dda00dcd94d2
treeb32ba4144cd42631c22ba1656270c0ad657a7c7e
parent8111cea67780ecd4ac31ffc5629a0bd536643b90
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/trunk@1530 a5681a0c-68f1-0310-ab6d-d61299d08faa
program/src/rrd_graph.c
program/src/rrd_tool.c