summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c0fd666)
raw | patch | inline | side by side (parent: c0fd666)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 3 Sep 2012 13:39:29 +0000 (13:39 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 3 Sep 2012 13:39:29 +0000 (13:39 +0000) |
program/bindings/python/rrdtoolmodule.c | patch | blob | history |
index fdf4121ce9027206c4c8cdcc083b4611e3ddb9a8..aea40f175a9b5660d8b09473b0f460a5bba50233 100644 (file)
unsigned long i, j;
rrd_value_t dv;
- unsigned long row_cnt = (end - start) / step;
+ unsigned long row_cnt = ((end - start) / step) + 1;
r = PyDict_New();
meta_dict = PyDict_New();