-/* Copyright (c) 2009-2015. The SimGrid Team.
+/* Copyright (c) 2009-2018. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
int main(int argc, char *argv[])
{
- msg_error_t res = MSG_OK;
-
MSG_init(&argc, argv);
MSG_create_environment(argv[1]);
MSG_process_create("send", sender_fun, NULL, MSG_get_host_by_name("Tremblay"));
MSG_process_create("receive", receiver_fun, NULL, MSG_get_host_by_name("Tremblay"));
- res = MSG_main();
- return res != MSG_OK;
+ return MSG_main() != MSG_OK;
}