Skip to content
Snippets Groups Projects
Commit 49fb96fb authored by Andreas Gattringer's avatar Andreas Gattringer
Browse files

butterflies: correctly output starting year stats

parent 579e96a9
No related branches found
No related tags found
No related merge requests found
......@@ -105,17 +105,19 @@ void bf_stats_write(struct cats_configuration *conf, struct cats_grid *grid)
free(fn);
data = bf_assemble_stats(conf, grid, true);
} else {
char *string = string_array_paste(data, ",");
fprintf(module_conf->stats_file, "%s\n", string);
free(string);
free_string_array(&data);
data = bf_assemble_stats(conf, grid, false);
}
data = bf_assemble_stats(conf, grid, false);
char *string = string_array_paste(data, ",");
fprintf(module_conf->stats_file, "%s\n", string);
free(string);
free_string_array(&data);
}
void bf_area_stats_gather(struct cats_grid *grid, struct cats_thread_info *ts)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment