projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix off by 1 error
[rrdtool.git]
/
bindings
/
python
/
rrdtoolmodule.c
diff --git
a/bindings/python/rrdtoolmodule.c
b/bindings/python/rrdtoolmodule.c
index
fdf4121
..
aea40f1
100644
(file)
--- a/
bindings/python/rrdtoolmodule.c
+++ b/
bindings/python/rrdtoolmodule.c
@@
-618,7
+618,7
@@
static PyObject *PyRRD_xport(
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();