This is a discussion on [rrd-users] Re: blocky graph with description (update/solutions) within the RRD Users forums, part of the Networking and Network Related category; Hi Sebastian, wil add your patch ... thanks tobi > src/rrd_fetch.c 2006-10-18 10:04:12.000000000 +0200 &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi Sebastian,
wil add your patch ... thanks tobi > src/rrd_fetch.c 2006-10-18 10:04:12.000000000 +0200 > @@ -237,7 +237,7 @@ > tmp_step_diff = labs(*step - (rrd.stat_head->pdp_step > * rrd.rra_def[i].pdp_cnt)); > /* best full match */ > - if(cal_end >= *end > + if(cal_end + (rrd.stat_head->pdp_step * rrd.rra_def[i].pdp_cnt) >= *end > && cal_start <= *start){ > if (first_full || (tmp_step_diff < best_full_step_diff)){ > first_full=0; > cheers tobi > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten http://tobi.oetiker.ch tobi@oetiker.ch ++41 62 213 9902 -- Unsubscribe mailto:rrd-users-request@list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request@list.ee.ethz.ch?subject=help Archive http://lists.ee.ethz.ch/rrd-users WebAdmin http://lists.ee.ethz.ch/lsg2.cgi |