Commit e888838e authored by Jonathan Jenkins's avatar Jonathan Jenkins
Browse files

prefix for categories not accounted in static buffer size

parent d5c1c2d6
......@@ -76,7 +76,7 @@ int model_net_get_id(char *name){
void model_net_write_stats(tw_lpid lpid, struct mn_stats* stat)
int ret;
char id[32];
char id[19+CATEGORY_NAME_MAX+1];
char data[1024];
sprintf(id, "model-net-category-%s", stat->category);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment