Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix a compilation warning/error in MSG_task_isend_with_matching instrumentation
authorAugustin Degomme <degomme@idpann.imag.fr>
Thu, 13 Sep 2012 07:50:11 +0000 (09:50 +0200)
committerAugustin Degomme <degomme@idpann.imag.fr>
Thu, 13 Sep 2012 07:50:11 +0000 (09:50 +0200)
src/msg/msg_gos.c

index 682da5b..e63d05f 100644 (file)
@@ -321,7 +321,7 @@ XBT_INLINE msg_comm_t MSG_task_isend_with_matching(msg_task_t task, const char *
   t_simdata->comm = comm->s_comm; /* FIXME: is the field t_simdata->comm still useful? */
 #ifdef HAVE_TRACING
     if (TRACE_is_enabled()) {
   t_simdata->comm = comm->s_comm; /* FIXME: is the field t_simdata->comm still useful? */
 #ifdef HAVE_TRACING
     if (TRACE_is_enabled()) {
-      simcall_set_category(comm, task->category);
+      simcall_set_category(comm->s_comm, task->category);
     }
 #endif
 
     }
 #endif