]> AND Public Git Repository - simgrid.git/blobdiff - examples/msg/masterslave/masterslave_arg.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git] / examples / msg / masterslave / masterslave_arg.c
index 002ecccc0ce1a59a65f3fb18710d3e8a24b2259a..873fedbf90c689644f611bfd19c6e303ba6acf87 100644 (file)
@@ -92,7 +92,7 @@ int slave(int argc, char *argv[])
 /** Main function */
 int main(int argc, char *argv[])
 {
-  MSG_error_t res = MSG_OK;
+  msg_error_t res = MSG_OK;
   long i;
 
   MSG_init(&argc, argv);
@@ -138,8 +138,6 @@ int main(int argc, char *argv[])
 
   XBT_INFO("Simulation time %g", MSG_get_clock());
 
-  MSG_clean();
-
   if (res == MSG_OK)
     return 0;
   else