summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5a76457)
raw | patch | inline | side by side (parent: 5a76457)
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) |
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();