Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move instruction at proper place.
[simgrid.git] / src / simix / smx_network.c
index d71158a..a247f08 100644 (file)
@@ -415,12 +415,10 @@ smx_action_t SIMIX_comm_irecv(smx_process_t dst_proc, smx_rdv_t rdv,
       --smx_total_comms; // this creation was a pure waste
       other_action->state = SIMIX_READY;
       other_action->comm.type = SIMIX_COMM_READY;
-      xbt_fifo_push(dst_proc->comms, other_action);
-
     }
+    xbt_fifo_push(dst_proc->comms, other_action);
   }
 
-
   /* Setup communication action */
   other_action->comm.dst_proc = dst_proc;
   other_action->comm.dst_buff = dst_buff;