X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d0672b1000bacd57037a1138e90553af71b50a53..6de9090dd8692387ae343c587b26915f9922d7bd:/src/msg/msg_mailbox.c diff --git a/src/msg/msg_mailbox.c b/src/msg/msg_mailbox.c index 9b94299312..997b138659 100644 --- a/src/msg/msg_mailbox.c +++ b/src/msg/msg_mailbox.c @@ -8,6 +8,7 @@ #include "msg_mailbox.h" #include "msg_private.h" + XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_mailbox, msg, "Logging specific to MSG (mailbox)"); @@ -155,9 +156,6 @@ MSG_mailbox_put_with_timeout(msg_mailbox_t mailbox, m_task_t task, CATCH(e) { switch (e.category) { - case host_error: - ret = MSG_HOST_FAILURE; - break; case network_error: ret = MSG_TRANSFER_FAILURE; break; @@ -192,6 +190,6 @@ msg_mailbox_t MSG_mailbox_get_by_channel(m_host_t host, && (channel < msg_global->max_channel), "Invalid channel %d", channel); - return host->simdata->mailboxes[(size_t) channel]; + return host->mailboxes[(size_t) channel]; } #endif