summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5f94d62)
raw | patch | inline | side by side (parent: 5f94d62)
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) |
program/src/rrd_fetch.c | patch | blob | history |
index 33465b31deed3b0a8b789f34e2bfc66f1f79540a..152018fa3d10a0f2fea244b5b57d9996b772e7d8 100644 (file)
--- a/program/src/rrd_fetch.c
+++ b/program/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