Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
further improve that damn message (fct called from two user visible functions ->...
authorMartin Quinson <martin.quinson@loria.fr>
Thu, 10 Nov 2011 08:43:24 +0000 (09:43 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Thu, 10 Nov 2011 08:43:24 +0000 (09:43 +0100)
src/msg/msg_mailbox.c

index bedccad..c45fd91 100644 (file)
@@ -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_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 {
 
   /* Try to receive it by calling SIMIX network layer */
   TRY {