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

Public GIT Repository
VM::next_occuring_event don't need to deal with network
[simgrid.git] / examples / msg / masterslave / masterslave_bypass.c
index 1ff3e3a1e844708b3901d30fb768dd49fcd3eab2..ecdf4cd9c3bcac7ffe6459fbae983de3544ef2cc 100644 (file)
@@ -287,8 +287,5 @@ int main(int argc, char *argv[])
   MSG_init(&argc, argv);
   res = test_all();
 
-  if (res == MSG_OK)
-    return 0;
-  else
-    return 1;
-}                               /* end_of_main */
+  return res != MSG_OK;
+}