X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Frrd_update.c;h=8eab0e90124da4558f4080bbf7f171d143738c8b;hb=6be14352d4c23b95164104abcfbce2c0125144e6;hp=158b4ae70e28d064c2701ed991bb16b8fe0e6c94;hpb=d61ddc519a415bdd59204af16b0d2c337756be8f;p=rrdtool.git diff --git a/src/rrd_update.c b/src/rrd_update.c index 158b4ae..8eab0e9 100644 --- a/src/rrd_update.c +++ b/src/rrd_update.c @@ -1268,7 +1268,7 @@ static int process_pdp_st( double interval, double pre_int, double post_int, - long diff_pdp_st, /* number of seconds in full steps passed since last update */ + long diff_pdp_st, /* number of seconds in full steps passed since last update */ rrd_value_t *pdp_new, rrd_value_t *pdp_temp) { @@ -1299,7 +1299,8 @@ static int process_pdp_st( /* if too much of the pdp_prep is unknown we dump it */ /* if the interval is larger thatn mrhb we get NAN */ if ((interval > mrhb) || - (rrd->stat_head->pdp_step/2.0 < (signed) scratch[PDP_unkn_sec_cnt].u_cnt)) { + (rrd->stat_head->pdp_step / 2.0 < + (signed) scratch[PDP_unkn_sec_cnt].u_cnt)) { pdp_temp[ds_idx] = DNAN; } else { pdp_temp[ds_idx] = scratch[PDP_val].u_val /