Code

new consolidation functions must be added last or this will break binary compatibility
[rrdtool-all.git] / program / src / rrd_resize.c
index 9dcfccab95da81afce3aa7a2f421564db69d7535..c45ec14304769dc09c07d1fa1550dedc1775eb36 100644 (file)
@@ -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);