Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Revert API breakage about xbt_ex_free since it was not mandatory and since API should...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 12 Apr 2006 07:23:02 +0000 (07:23 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 12 Apr 2006 07:23:02 +0000 (07:23 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2135 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/amok/saturate/saturate.c

index 08f8d99..8e63549 100644 (file)
@@ -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);
   }