container_t msg = newContainer(process->name, INSTR_MSG_PROCESS, host_container);
type_t type = getType (category);
if (!type){
- type = newVariableType(category, TYPE_VARIABLE, color, msg->type);
+ type = getVariableType(category, color, msg->type);
}
pajeSetVariable(SIMIX_get_clock(), type->id, msg->id, "1");