X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/91715e2f198242d378e33453014dd004fcf9f47e..f9dd7412281e42ac1c4ef82da3dbc67d2372b77a:/examples/msg/icomms/peer3.c diff --git a/examples/msg/icomms/peer3.c b/examples/msg/icomms/peer3.c index 8b22f55b15..417893d0e7 100644 --- a/examples/msg/icomms/peer3.c +++ b/examples/msg/icomms/peer3.c @@ -69,7 +69,7 @@ int sender(int argc, char *argv[]) task = NULL; res_irecv = MSG_task_irecv(&(task), mailbox); res_wait = MSG_comm_wait(res_irecv, -1); - xbt_assert0(res == MSG_OK, "MSG_comm_wait failed"); + xbt_assert0(res_wait == MSG_OK, "MSG_comm_wait failed"); MSG_comm_destroy(res_irecv); MSG_task_destroy(task); }