X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6ee7e9c2e455536ab817ae0136acfbb53822eecd..f783ed4680c6862a1b7543237e89d1221334bae0:/examples/amok/saturate/saturate.c diff --git a/examples/amok/saturate/saturate.c b/examples/amok/saturate/saturate.c index 6bb54ae6ab..b89dccc24d 100644 --- a/examples/amok/saturate/saturate.c +++ b/examples/amok/saturate/saturate.c @@ -171,7 +171,6 @@ static void simple_saturation(int argc, char *argv[]) /********************************************************************************************/ static void full_fledged_saturation(int argc, char *argv[]) { - xbt_ex_t e; double time1 = 5.0, bw1 = 5.0; // 0.5 for test /* timers */ double begin_simulated; @@ -220,8 +219,8 @@ static void full_fledged_saturation(int argc, char *argv[]) amok_bw_saturate_start(h1->name, h1->port, h2->name, h2->port, 0, /* Be nice, compute msg_size yourself */ 0 /* no timeout */ ); } - CATCH(e) { - RETHROW0("Cannot ask peers to saturate the link: %s"); + CATCH_ANONYMOUS { + RETHROWF("Cannot ask peers to saturate the link: %s"); } gras_os_sleep(5);