Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill the right XML files
[simgrid.git] / examples / msg / io / remote.c
index a065254..5661b61 100644 (file)
@@ -12,7 +12,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include "simgrid/msg.h"
-#include "surf/surf_private.h"
 
 #define INMEGA (1024*1024)
 
@@ -103,8 +102,5 @@ int main(int argc, char **argv)
   xbt_dynar_free_container(&storages);
 
   XBT_INFO("Simulation time %g", MSG_get_clock());
-  if (res == MSG_OK)
-    return 0;
-  else
-    return 1;
+  return res != MSG_OK;
 }