- MSG_task_get_with_timeout(&task, 0, DBL_MAX);
- xbt_assert0(MSG_task_get_sender(task), "No sender received");
+ 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");