Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
coverage madness in examples
[simgrid.git] / examples / msg / masterslave / masterslave_bypass.c
index 1ff3e3a..ecdf4cd 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;
+}