Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix compilation with MSG_DEPRECATED
authornavarro <navarro@caraja.(none)>
Tue, 22 May 2012 13:17:01 +0000 (15:17 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 23 May 2012 09:36:04 +0000 (11:36 +0200)
src/msg/msg_gos.c

index 3582956..c0cce18 100644 (file)
@@ -1033,7 +1033,7 @@ MSG_task_put_with_timeout(m_task_t task, m_host_t dest,
               && (channel < msg_global->max_channel), "Invalid channel %d",
               channel);
 
-  XBT_DEBUG("MSG_task_put_with_timout: Trying to send a task to '%s'", dest->smx_host->name);
+  XBT_DEBUG("MSG_task_put_with_timout: Trying to send a task to '%s'", SIMIX_host_get_name(dest->smx_host));
   return
       MSG_mailbox_put_with_timeout(MSG_mailbox_get_by_channel
                                    (dest, channel), task, timeout);