Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] fix on link type creation (was indexed by type name, but should consider...
[simgrid.git] / src / instr / instr_msg_task.c
index 9796fbc..73018af 100644 (file)
@@ -54,7 +54,7 @@ void TRACE_msg_set_task_category(m_task_t task, const char *category)
     msg = newContainer(task->name, INSTR_MSG_TASK, host_container);
     type_t type = getType (task->category);
     if (!type){
-      type = newVariableType(task->category, TYPE_VARIABLE, NULL, msg->type);
+      type = getVariableType(task->category, NULL, msg->type);
     }
     pajeSetVariable(SIMIX_get_clock(), type->id, msg->id, "1");