X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Frrd_resize.c;h=c45ec14304769dc09c07d1fa1550dedc1775eb36;hb=271be77064640b1daa3408885d60b8bead1126ad;hp=9dcfccab95da81afce3aa7a2f421564db69d7535;hpb=fd541595aa5d0c19281fda76907847a93f2cfaec;p=rrdtool.git diff --git a/src/rrd_resize.c b/src/rrd_resize.c index 9dcfcca..c45ec14 100644 --- a/src/rrd_resize.c +++ b/src/rrd_resize.c @@ -82,6 +82,7 @@ int rrd_resize( return (-1); } /* the size of the new file */ + /* yes we are abusing the float cookie for this, aargh */ if ((rrdnew.stat_head = calloc(1, sizeof(stat_head_t))) == NULL) { rrd_set_error("allocating stat_head for new RRD"); rrd_free(&rrdold);