Merge branch 'collectd-4.3' into collectd-4.4
[collectd.git] / src / rrdtool.c
index ab24524..93c9d7a 100644 (file)
@@ -195,7 +195,7 @@ static int rra_get (char ***ret, const value_list_t *vl)
                span = rts[i];
 
                if ((span / ss) < rrarows)
-                       continue;
+                       span = ss * rrarows;
 
                if (cdp_len == 0)
                        cdp_len = 1;