X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_resize.c;h=675240ee6016ff7be4bd6b14e1429596704bb881;hp=9dcfccab95da81afce3aa7a2f421564db69d7535;hb=e1c12d5c14b4a716ea999204cedb13e98466ff15;hpb=fd541595aa5d0c19281fda76907847a93f2cfaec diff --git a/src/rrd_resize.c b/src/rrd_resize.c index 9dcfcca..675240e 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.3rc3 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);