[rrd-users] Re: blocky graph with description (update/solutions)
Tobias Oetiker
tobi at oetiker.ch
Mon Nov 6 07:50:06 MET 2006
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 at oetiker.ch ++41 62 213 9902
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-users
mailing list