Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix a typo spotted by Henri
[simgrid.git] / src / msg / msg_mailbox.c
index 29bc223..bedccad 100644 (file)
@@ -87,7 +87,7 @@ MSG_mailbox_get_task_ext(msg_mailbox_t mailbox, m_task_t * task,
 
   if (*task)
     XBT_CRITICAL
-        ("MSG_task_get() was asked to write in a non empty task struct.");
+        ("MSG_task_receive() was asked to write in a non empty task struct.");
 
   /* Try to receive it by calling SIMIX network layer */
   TRY {
@@ -158,7 +158,6 @@ MSG_mailbox_put_with_timeout(msg_mailbox_t mailbox, m_task_t task,
       smx_action_t comm = SIMIX_req_comm_isend(mailbox, t_simdata->message_size,
                                   t_simdata->rate, task, sizeof(void *),
                                   NULL, NULL, 0);
-      t_simdata->comm = comm;
       SIMIX_req_set_category(comm, task->category);
       SIMIX_req_comm_wait(comm, timeout);
     } else {