X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_resize.c;h=e20f6bf0c3c2e0204884f8ed1465f2ec50b7bf2f;hb=3c268443bb768669f3bd095b9e95a9a5ab4c5ef2;hp=9dcfccab95da81afce3aa7a2f421564db69d7535;hpb=fd541595aa5d0c19281fda76907847a93f2cfaec;p=rrdtool.git diff --git a/src/rrd_resize.c b/src/rrd_resize.c index 9dcfcca..e20f6bf 100644 --- a/src/rrd_resize.c +++ b/src/rrd_resize.c @@ -1,5 +1,5 @@ /***************************************************************************** - * RRDtool 1.2.23 Copyright by Tobi Oetiker, 1997-2007 + * RRDtool 1.3rc6 Copyright by Tobi Oetiker, 1997-2008 ***************************************************************************** * rrd_resize.c Alters size of an RRA ***************************************************************************** @@ -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);