summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 47241e4)
raw | patch | inline | side by side (parent: 47241e4)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 19 Jun 2008 13:18:04 +0000 (13:18 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 19 Jun 2008 13:18:04 +0000 (13:18 +0000) |
patch to correct this. - Gilad Raphaelli. Fix for #161
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1436 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1436 a5681a0c-68f1-0310-ab6d-d61299d08faa
program/bindings/python/rrdtoolmodule.c | patch | blob | history |
index 1b85f965550e1dbc8a15779dceeabb76bdd9834a..2771720711310ab670cfc1e0ac2589122cae0c2d 100644 (file)
unsigned long i, j, row;
rrd_value_t dv;
- row = ((end - start) / step + 1);
+ row = (end - start) / step;
r = PyTuple_New(3);
range_tup = PyTuple_New(3);