From: mquinson Date: Wed, 12 Apr 2006 07:23:02 +0000 (+0000) Subject: Revert API breakage about xbt_ex_free since it was not mandatory and since API should... X-Git-Tag: v3.3~3223 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/3c2433a14012fa09e527bd40a51b5dba5a6579e2 Revert API breakage about xbt_ex_free since it was not mandatory and since API should be saved when possible; wait a bit more for friends git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2135 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/examples/amok/saturate/saturate.c b/examples/amok/saturate/saturate.c index 08f8d99aa6..8e63549d7b 100644 --- a/examples/amok/saturate/saturate.c +++ b/examples/amok/saturate/saturate.c @@ -51,7 +51,7 @@ int sensor (int argc,char *argv[]) { gras_cb_register(gras_msgtype_by_name("kill"),&sensor_cb_kill); while (!g->done) { - gras_msg_handle(60.0); + gras_msg_handle(120.0); } gras_socket_close(g->sock); @@ -133,7 +133,7 @@ static void simple_saturation(int argc, char*argv[]) { TRY { amok_bw_saturate_stop(argv[1],atoi(argv[2]),NULL,NULL); } CATCH(e) { - xbt_ex_free(&e); + xbt_ex_free(e); }