]> AND Public Git Repository - simgrid.git/blobdiff - src/msg/msg_host.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
MSG_task_dsend: don't apply a default function if cleanup is NULL
[simgrid.git] / src / msg / msg_host.c
index bcd8b8f79ebcfd25424804212d5c1b5668daa98d..5ca1ebafc935c3a1f9678c0d507858e5c0a8af8c 100644 (file)
@@ -117,7 +117,7 @@ const char *MSG_host_get_name(m_host_t host)
  */
 m_host_t MSG_host_self(void)
 {
-  return MSG_process_get_host(MSG_process_self());
+  return MSG_process_get_host(NULL);
 }
 
 /** \ingroup m_host_management