From: oetiker Date: Mon, 12 May 2008 16:15:25 +0000 (+0000) Subject: fixed indenting X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fccee3ff46fed88db892a8ed68abed17d3fddd2a;p=rrdtool-all.git fixed indenting git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1345 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/bindings/python/rrdtoolmodule.c b/program/bindings/python/rrdtoolmodule.c index fa96ebd9..f8297343 100644 --- a/program/bindings/python/rrdtoolmodule.c +++ b/program/bindings/python/rrdtoolmodule.c @@ -422,7 +422,6 @@ static PyObject *PyRRD_info( rrd_clear_error(); return NULL; } - #define DICTSET_STR(dict, name, value) \ t = PyString_FromString(value); \ PyDict_SetItemString(dict, name, t); \ diff --git a/program/src/rrd_update.c b/program/src/rrd_update.c index 158b4ae7..8eab0e90 100644 --- a/program/src/rrd_update.c +++ b/program/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 /