From: Arnaud Giersch Date: Wed, 21 Mar 2018 08:23:21 +0000 (+0100) Subject: Last but one parameter should be null here. X-Git-Tag: v3.20~669 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/6bc4ed84fbc1b9d5e3e6dd18072bc896511b4cb7 Last but one parameter should be null here. --- diff --git a/src/msg/msg_gos.cpp b/src/msg/msg_gos.cpp index 59f895d51b..95ac0491e7 100644 --- a/src/msg/msg_gos.cpp +++ b/src/msg/msg_gos.cpp @@ -795,8 +795,8 @@ msg_error_t MSG_task_send_with_timeout(msg_task_t task, const char *alias, doubl /* Try to send it by calling SIMIX network layer */ try { smx_activity_t comm = nullptr; /* MC needs the comm to be set to nullptr during the simix call */ - comm = simcall_comm_isend(SIMIX_process_self(), mailbox->getImpl(),t_simdata->bytes_amount, - t_simdata->rate, task, sizeof(void *), nullptr, nullptr, nullptr, task, 0); + comm = simcall_comm_isend(SIMIX_process_self(), mailbox->getImpl(), t_simdata->bytes_amount, t_simdata->rate, task, + sizeof(void*), nullptr, nullptr, nullptr, nullptr, 0); if (TRACE_is_enabled()) simcall_set_category(comm, task->category); t_simdata->comm = boost::static_pointer_cast(comm);