]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
Update bindings/python/rrdtoolmodule.c 358/head
authorjimmyngo <jimmyngo@berkeley.edu>
Thu, 15 Nov 2012 02:27:21 +0000 (18:27 -0800)
committerjimmyngo <jimmyngo@berkeley.edu>
Thu, 15 Nov 2012 02:27:21 +0000 (18:27 -0800)
Undoing the off by one correction as per previous email.

bindings/python/rrdtoolmodule.c

index aea40f175a9b5660d8b09473b0f460a5bba50233..54855e6b28103996c734292d114edf8903c7cdd3 100644 (file)
@@ -618,7 +618,7 @@ static PyObject *PyRRD_xport(
         unsigned long i, j;
         rrd_value_t dv;
 
-        unsigned long row_cnt = ((end - start) / step) + 1;
+        unsigned long row_cnt = ((end - start) / step);
 
         r = PyDict_New();
         meta_dict = PyDict_New();