summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 946b73a)
raw | patch | inline | side by side (parent: 946b73a)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 4 Dec 2008 15:49:11 +0000 (15:49 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 4 Dec 2008 15:49:11 +0000 (15:49 +0000) |
src/rrd_fetch.c | patch | blob | history |
diff --git a/src/rrd_fetch.c b/src/rrd_fetch.c
index 33465b31deed3b0a8b789f34e2bfc66f1f79540a..152018fa3d10a0f2fea244b5b57d9996b772e7d8 100644 (file)
--- a/src/rrd_fetch.c
+++ b/src/rrd_fetch.c
rra_start_time, rra_end_time, start_offset, end_offset);
#endif
/* only seek if the start time is before the end time */
- if (*start <= rra_end_time && *end >= rra_start_time - step ){
+ if (*start <= rra_end_time && *end >= rra_start_time - *step ){
if (start_offset <= 0)
rra_pointer = rrd.rra_ptr[chosen_rra].cur_row + 1;
else