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

Public GIT Repository
Fix build with MSG_USE_DEPRECATED.
[simgrid.git] / src / msg / msg_mailbox.c
index 83840e5c73a44b185279f184c8963b5b6e3b1c0c..6082642267cd26495056150c16301d2449f0ec81 100644 (file)
@@ -292,6 +292,6 @@ msg_mailbox_t MSG_mailbox_get_by_channel(msg_host_t host,
               && (channel < msg_global->max_channel), "Invalid channel %d",
               channel);
 
-  return host->mailboxes[(size_t) channel];
+  return MSG_host_priv(host)->mailboxes[(size_t) channel];
 }
 #endif