X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/53b9ff1b6972dffeabd543a09c89170663c30ad1..9203fa06f28cebe61bebece905e1ec4b5d986436:/examples/msg/ns3/ns3.c diff --git a/examples/msg/ns3/ns3.c b/examples/msg/ns3/ns3.c index 9d9a3f9696..9a8df98255 100644 --- a/examples/msg/ns3/ns3.c +++ b/examples/msg/ns3/ns3.c @@ -8,7 +8,6 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test, "Messages specific for this msg example"); - /** @addtogroup MSG_examples * * @section MSG_ex_models Models-related examples @@ -126,10 +125,7 @@ static int slave(int argc, char *argv[]) timer_start = 0; } - if (a != MSG_OK) { - XBT_INFO("Hey?! What's up?"); - xbt_die("Unexpected behavior."); - } + xbt_assert(a == MSG_OK,"Hey?! What's up? Unexpected behavior"); elapsed_time = MSG_get_clock() - start_time;