- MSG_task_get_with_timeout(&task, 0, DBL_MAX);
- xbt_assert0(MSG_task_get_sender(task), "No sender received");
- INFO1("Got a message sent by '%s'",
+ MSG_task_receive_with_timeout(&task, MSG_host_get_name(MSG_host_self()), DBL_MAX);
+ xbt_assert(MSG_task_get_sender(task), "No sender received");
+ XBT_INFO("Got a message sent by '%s'",