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_process.c
index 3a78475..f5f2213 100644 (file)
@@ -44,7 +44,7 @@ void TRACE_msg_set_process_category(m_process_t process, const char *category, c
   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");