From: Peter Stamfest Date: Mon, 3 Mar 2014 08:38:13 +0000 (+0100) Subject: we can also use a single RRA as a candidate X-Git-Tag: v1.5.0-rc1~131^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf464394883593b30287a4bf95ba39a65d02b8b1;p=thirdparty%2Frrdtool-1.x.git we can also use a single RRA as a candidate --- diff --git a/src/rrd_modify.c b/src/rrd_modify.c index c9657e0a..b0ebc980 100644 --- a/src/rrd_modify.c +++ b/src/rrd_modify.c @@ -225,7 +225,7 @@ static int populate_row(const rrd_t *in_rrd, int populate_cnt) { int rc = -1; - if (in_rrd->stat_head->rra_cnt <= 1) return 0; + if (in_rrd->stat_head->rra_cnt < 1) return 0; enum cf_en cf = cf_conv(new_rra->cf_nam); switch (cf) {