summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 88be100)
raw | patch | inline | side by side (parent: 88be100)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 18 Nov 2008 08:37:32 +0000 (08:37 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 18 Nov 2008 08:37:32 +0000 (08:37 +0000) |
contrib/php4/rrdtool.c | patch | blob | history |
diff --git a/contrib/php4/rrdtool.c b/contrib/php4/rrdtool.c
index d718cc1d7f51810a88a1be1714f374ef5ec6daf0..c91bc7fbeb8b56b61774af43fa6928271c7b89cc 100644 (file)
--- a/contrib/php4/rrdtool.c
+++ b/contrib/php4/rrdtool.c
{
datap = data;
- for (i = start; i <= end; i += step)
+ for (i = start + step; i <= end; i += step)
for (j = 0; j < ds_cnt; j++)
add_next_index_double(p_data, *(datap++));