From 4f5cd513b56a03f3f7fac50dd6ff033150acec6d Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Thu, 10 Nov 2011 09:43:24 +0100 Subject: [PATCH] further improve that damn message (fct called from two user visible functions -> don't name them) --- src/msg/msg_mailbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/msg/msg_mailbox.c b/src/msg/msg_mailbox.c index bedccad273..c45fd91eab 100644 --- a/src/msg/msg_mailbox.c +++ b/src/msg/msg_mailbox.c @@ -86,8 +86,8 @@ MSG_mailbox_get_task_ext(msg_mailbox_t mailbox, m_task_t * task, xbt_assert(task, "Null pointer for the task storage"); if (*task) - XBT_CRITICAL - ("MSG_task_receive() was asked to write in a non empty task struct."); + XBT_WARN + ("Asked to write the received task in a non empty struct -- proceeding."); /* Try to receive it by calling SIMIX network layer */ TRY { -- 2.20.1